[llvm-commits] CVS: llvm/test/Regression/C++Frontend/2003-05-22-LocalTypeTest.c
Chris Lattner
lattner at cs.uiuc.edu
Thu May 22 10:34:07 PDT 2003
Changes in directory llvm/test/Regression/C++Frontend:
2003-05-22-LocalTypeTest.c added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes:
Index: llvm/test/Regression/C++Frontend/2003-05-22-LocalTypeTest.c
diff -c /dev/null llvm/test/Regression/C++Frontend/2003-05-22-LocalTypeTest.c:1.1
*** /dev/null Thu May 22 10:33:43 2003
--- llvm/test/Regression/C++Frontend/2003-05-22-LocalTypeTest.c Thu May 22 10:33:33 2003
***************
*** 0 ****
--- 1,10 ----
+ struct sometimes {
+ short offset; short bit;
+ short live_length; short calls_crossed;
+ } Y;
+
+ int main() {
+ struct sometimes { int X, Y; } S;
+ S.X = 1;
+ return Y.offset;
+ }
More information about the llvm-commits
mailing list