[llvm-commits] CVS: llvm/test/Regression/CodeGen/CBackend/2004-12-03-ExternStatics.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri Dec 3 09:18:57 PST 2004
Changes in directory llvm/test/Regression/CodeGen/CBackend:
2004-12-03-ExternStatics.ll added (r1.1)
---
Log message:
new testcase for PR472: http://llvm.cs.uiuc.edu/PR472
---
Diffs of the changes: (+12 -0)
Index: llvm/test/Regression/CodeGen/CBackend/2004-12-03-ExternStatics.ll
diff -c /dev/null llvm/test/Regression/CodeGen/CBackend/2004-12-03-ExternStatics.ll:1.1
*** /dev/null Fri Dec 3 11:18:52 2004
--- llvm/test/Regression/CodeGen/CBackend/2004-12-03-ExternStatics.ll Fri Dec 3 11:18:42 2004
***************
*** 0 ****
--- 1,12 ----
+ ; RUN: llvm-as < %s | llc -march=c | not grep 'extern.*msg'
+
+ ; This is PR472
+
+ %msg = internal global [6 x sbyte] c"hello\00"
+
+ implementation ; Functions:
+
+ sbyte* %foo() {
+ entry:
+ ret sbyte* getelementptr ([6 x sbyte]* %msg, int 0, int 0)
+ }
More information about the llvm-commits
mailing list