projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Testcase for PR826
[oota-llvm.git]
/
test
/
Verifier
/
2006-07-11-StoreStruct.ll
diff --git a/test/Verifier/2006-07-11-StoreStruct.ll
b/test/Verifier/2006-07-11-StoreStruct.ll
new file mode 100644
(file)
index 0000000..
31e2dd4
--- /dev/null
+++ b/
test/Verifier/2006-07-11-StoreStruct.ll
@@ -0,0
+1,11
@@
+; RUN: not llvm-as %s -o /dev/null -f
+; PR826
+
+ %struct_4 = type { int }
+
+implementation ; Functions:
+
+void %test() {
+ store %struct_4 zeroinitializer, %struct_4* null
+ unreachable
+}