minix/external/bsd/llvm/dist/clang/test/CodeGen/2003-06-26-CFECrash.c
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

19 lines
294 B
C

// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
typedef struct min_info {
long offset;
unsigned file_attr;
} min_info;
typedef struct Globals {
char answerbuf;
min_info info[1];
min_info *pInfo;
} Uz_Globs;
extern Uz_Globs G;
int extract_or_test_files() {
G.pInfo = G.info;
}