X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2F2004-11-28-InvalidTypeCrash.ll;h=5f800774fa327c819f64f2a9c08622717261c5f9;hb=8cb8245cf117fc4a4f0a6549d9a773a12895550c;hp=b6b03c828cc4138bc003f4b268e69c8e5de44f2c;hpb=7e6b4f7a6dee255e381dd55b39c49fdc5bcb8d10;p=oota-llvm.git diff --git a/test/Assembler/2004-11-28-InvalidTypeCrash.ll b/test/Assembler/2004-11-28-InvalidTypeCrash.ll index b6b03c828cc..5f800774fa3 100644 --- a/test/Assembler/2004-11-28-InvalidTypeCrash.ll +++ b/test/Assembler/2004-11-28-InvalidTypeCrash.ll @@ -1,3 +1,5 @@ -; 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. -%.FOO = internal global %struct.none zeroinitializer +; RUN: not llvm-as %s -o /dev/null -f |& \ +; RUN: grep {Cannot create a null initialized value of this type} + +@.FOO = internal global %struct.none zeroinitializer