New testcase that crashes the cfe

llvm-svn: 6925
This commit is contained in:
Chris Lattner 2003-06-27 02:37:53 +00:00
parent c1e4ee0f50
commit 8bf2e04b87
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
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;
}