blob: dd874b7b4547b0e992f02db1aac016e23465831d [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3typedef struct min_info {
4 long offset;
5 unsigned file_attr;
6} min_info;
7
8typedef struct Globals {
9 char answerbuf;
10 min_info info[1];
11 min_info *pInfo;
12} Uz_Globs;
13
14extern Uz_Globs G;
15
16int extract_or_test_files() {
17 G.pInfo = G.info;
18}
19