X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2F2004-11-28-InvalidTypeCrash.ll;h=4db5b7453b0f2235d73eb2d1a19db7fa5e99ad5c;hb=1a35292b486b05164d36c1a1fb1593c726fe5b07;hp=1fad05ff444a8146ad6e88d5a84a77d9655540f6;hpb=d7c2c2f753ae80257798fd25a879ec17df953c5b;p=oota-llvm.git diff --git a/test/Assembler/2004-11-28-InvalidTypeCrash.ll b/test/Assembler/2004-11-28-InvalidTypeCrash.ll index 1fad05ff444..4db5b7453b0 100644 --- 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 create a' ; 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