[llvm-commits] CVS: llvm/test/Regression/CFrontend/2003-11-19-AddressOfRegister.c.tr
Chris Lattner
lattner at cs.uiuc.edu
Wed Nov 19 15:39:07 PST 2003
Changes in directory llvm/test/Regression/CFrontend:
2003-11-19-AddressOfRegister.c.tr added (r1.1)
---
Log message:
New testcase for PR133
---
Diffs of the changes: (+12 -0)
Index: llvm/test/Regression/CFrontend/2003-11-19-AddressOfRegister.c.tr
diff -c /dev/null llvm/test/Regression/CFrontend/2003-11-19-AddressOfRegister.c.tr:1.1
*** /dev/null Wed Nov 19 15:38:02 2003
--- llvm/test/Regression/CFrontend/2003-11-19-AddressOfRegister.c.tr Wed Nov 19 15:37:52 2003
***************
*** 0 ****
--- 1,12 ----
+ // RUN: %llvmgcc -xc %s -S -o /dev/null 2>&1 | not grep 'warning'
+
+ struct item {
+ short delta[4];
+ };
+
+ int TEST(int nt) {
+ register struct item *aa;
+ aa[nt].delta;
+ return 1;
+ }
+
More information about the llvm-commits
mailing list