[llvm-commits] CVS: llvm/test/Regression/CFrontend/2004-06-18-VariableLengthArrayOfStructures.c
Chris Lattner
lattner at cs.uiuc.edu
Fri Jun 18 20:15:01 PDT 2004
Changes in directory llvm/test/Regression/CFrontend:
2004-06-18-VariableLengthArrayOfStructures.c added (r1.1)
---
Log message:
Test for PR374: http://llvm.cs.uiuc.edu/PR374
---
Diffs of the changes: (+8 -0)
Index: llvm/test/Regression/CFrontend/2004-06-18-VariableLengthArrayOfStructures.c
diff -c /dev/null llvm/test/Regression/CFrontend/2004-06-18-VariableLengthArrayOfStructures.c:1.1
*** /dev/null Fri Jun 18 20:08:22 2004
--- llvm/test/Regression/CFrontend/2004-06-18-VariableLengthArrayOfStructures.c Fri Jun 18 20:08:12 2004
***************
*** 0 ****
--- 1,8 ----
+
+ struct S { };
+
+ int xxxx(int a) {
+ struct S comps[a];
+ comps[0];
+ }
+
More information about the llvm-commits
mailing list