projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix assert assembling zero-argument constant GEP.
[oota-llvm.git]
/
test
/
Assembler
/
2009-07-24-ZeroArgGEP.ll
diff --git a/test/Assembler/2009-07-24-ZeroArgGEP.ll
b/test/Assembler/2009-07-24-ZeroArgGEP.ll
new file mode 100644
(file)
index 0000000..
ce4a961
--- /dev/null
+++ b/
test/Assembler/2009-07-24-ZeroArgGEP.ll
@@ -0,0
+1,5
@@
+; RUN: llvm-as %s -o /dev/null -f
+
+@foo = global i32 0
+@bar = constant i32* getelementptr(i32* @foo)
+