projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
llvm-ar: Clean up memory management with OwningPtr.
[oota-llvm.git]
/
test
/
Assembler
/
2004-11-28-InvalidTypeCrash.ll
diff --git
a/test/Assembler/2004-11-28-InvalidTypeCrash.ll
b/test/Assembler/2004-11-28-InvalidTypeCrash.ll
index b6b03c828cc4138bc003f4b268e69c8e5de44f2c..4db5b7453b0f2235d73eb2d1a19db7fa5e99ad5c 100644
(file)
--- a/
test/Assembler/2004-11-28-InvalidTypeCrash.ll
+++ b/
test/Assembler/2004-11-28-InvalidTypeCrash.ll
@@
-1,3
+1,4
@@
-; RUN: (llvm-upgrade < %s | llvm-as -o /dev/null -f) 2>&1 | grep 'Cannot resolve type'
; Test for PR463. This program is erroneous, but should not crash llvm-as.
; Test for PR463. This program is erroneous, but should not crash llvm-as.
-%.FOO = internal global %struct.none zeroinitializer
+; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "use of undefined type named 'struct.none'"
+
+@.FOO = internal global %struct.none zeroinitializer