projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test commit.
[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 ce3f0610905b43ee07416d33b23aa8d23b187e6b..7260f19bfd9a5ab551e0f12fed42558167fcdcd4 100644
(file)
--- a/
test/Assembler/2004-11-28-InvalidTypeCrash.ll
+++ b/
test/Assembler/2004-11-28-InvalidTypeCrash.ll
@@
-1,4
+1,5
@@
-; RUN: llvm-as 2>&1 < %s -o /dev/null -f | \
-; RUN: grep 'Cannot create a null initialized value of this 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.
+; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
+; CHECK: use of undefined type named 'struct.none'
+
@.FOO = internal global %struct.none zeroinitializer
@.FOO = internal global %struct.none zeroinitializer