[llvm-commits] CVS: llvm/test/Regression/CFrontend/2003-06-26-CFECrash.c

Chris Lattner lattner at cs.uiuc.edu
Thu Jun 26 21:39:01 PDT 2003


Changes in directory llvm/test/Regression/CFrontend:

2003-06-26-CFECrash.c added (r1.1)

---
Log message:

New testcase that crashes the cfe


---
Diffs of the changes:

Index: llvm/test/Regression/CFrontend/2003-06-26-CFECrash.c
diff -c /dev/null llvm/test/Regression/CFrontend/2003-06-26-CFECrash.c:1.1
*** /dev/null	Thu Jun 26 21:38:04 2003
--- llvm/test/Regression/CFrontend/2003-06-26-CFECrash.c	Thu Jun 26 21:37:53 2003
***************
*** 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;
+ }
+ 





More information about the llvm-commits mailing list