projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
when eliding a byval copy due to inlining a readonly function, we have
[oota-llvm.git]
/
test
/
Verifier
/
2005-03-21-UndefinedTypeReference.ll
diff --git
a/test/Verifier/2005-03-21-UndefinedTypeReference.ll
b/test/Verifier/2005-03-21-UndefinedTypeReference.ll
index 77fb7659039916dada6242ca5c2bd3303ebf77d1..5299397ab06c24b034d10ccad922498635060ff8 100644
(file)
--- a/
test/Verifier/2005-03-21-UndefinedTypeReference.ll
+++ b/
test/Verifier/2005-03-21-UndefinedTypeReference.ll
@@
-1,6
+1,6
@@
-; RUN: not llvm-as
-f %s -o /dev/null
+; RUN: not llvm-as
< %s |& grep {use of undefined type named 'InvalidType'}
-
void %
test() {
+
define void @
test() {
malloc %InvalidType
ret void
}