[llvm-commits] CVS: llvm/test/Feature/globalredefinition.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed Jul 14 15:59:57 PDT 2004
Changes in directory llvm/test/Feature:
globalredefinition.ll added (r1.1)
---
Log message:
New, horrible, testcase
---
Diffs of the changes: (+18 -0)
Index: llvm/test/Feature/globalredefinition.ll
diff -c /dev/null llvm/test/Feature/globalredefinition.ll:1.1
*** /dev/null Wed Jul 14 17:59:57 2004
--- llvm/test/Feature/globalredefinition.ll Wed Jul 14 17:59:47 2004
***************
*** 0 ****
--- 1,18 ----
+ ; Test forward references and redefinitions of globals
+
+ %Y = global void()* %X
+
+ %A = global int* %B
+ %B = global int 7
+ %B = global int 7
+
+
+ declare void %X()
+
+ declare void %X()
+
+ void %X() {
+ ret void
+ }
+
+ declare void %X()
More information about the llvm-commits
mailing list