projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a32784
)
New, horrible, testcase
author
Chris Lattner
<sabre@nondot.org>
Wed, 14 Jul 2004 22:59:47 +0000
(22:59 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 14 Jul 2004 22:59:47 +0000
(22:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14829
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Feature/globalredefinition.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/Feature/globalredefinition.ll
b/test/Feature/globalredefinition.ll
new file mode 100644
(file)
index 0000000..
793554a
--- /dev/null
+++ b/
test/Feature/globalredefinition.ll
@@ -0,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()