X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2F2004-11-28-InvalidTypeCrash.ll;h=4db5b7453b0f2235d73eb2d1a19db7fa5e99ad5c;hb=ccbfd5b18a79a07229f11af478843eae16ac9b26;hp=ea16cc45252e7d5b27a793f917b03b4ea3a498dd;hpb=d2e065c61abb500a99b6927dc187608c7c0a597c;p=oota-llvm.git diff --git a/test/Assembler/2004-11-28-InvalidTypeCrash.ll b/test/Assembler/2004-11-28-InvalidTypeCrash.ll index ea16cc45252..4db5b7453b0 100644 --- a/test/Assembler/2004-11-28-InvalidTypeCrash.ll +++ b/test/Assembler/2004-11-28-InvalidTypeCrash.ll @@ -1,4 +1,4 @@ -; 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. +; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "use of undefined type named 'struct.none'" + @.FOO = internal global %struct.none zeroinitializer