[llvm-commits] CVS: llvm/test/Regression/C++Frontend/2003-06-16-InvalidInitializer.c
Chris Lattner
lattner at cs.uiuc.edu
Mon Jun 16 08:35:01 PDT 2003
Changes in directory llvm/test/Regression/C++Frontend:
2003-06-16-InvalidInitializer.c added (r1.1)
---
Log message:
New testcase identified by joel
---
Diffs of the changes:
Index: llvm/test/Regression/C++Frontend/2003-06-16-InvalidInitializer.c
diff -c /dev/null llvm/test/Regression/C++Frontend/2003-06-16-InvalidInitializer.c:1.1
*** /dev/null Mon Jun 16 08:34:09 2003
--- llvm/test/Regression/C++Frontend/2003-06-16-InvalidInitializer.c Mon Jun 16 08:33:59 2003
***************
*** 0 ****
--- 1,7 ----
+ typedef struct {
+ char *auth_pwfile;
+ } auth_config_rec;
+
+ void *Ptr = &((auth_config_rec*)0)->auth_pwfile;
+
+ int main() { return 0; }
More information about the llvm-commits
mailing list