X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2F2004-11-28-InvalidTypeCrash.ll;h=7260f19bfd9a5ab551e0f12fed42558167fcdcd4;hb=b3dd3c7ac3829b94e4f0c8f6499621f5c7b3d04e;hp=4ae4765169e4145243e1dce896558f4ae5875a64;hpb=83935ac59d5f1760cb127a57e48bb74712ef9507;p=oota-llvm.git diff --git a/test/Assembler/2004-11-28-InvalidTypeCrash.ll b/test/Assembler/2004-11-28-InvalidTypeCrash.ll index 4ae4765169e..7260f19bfd9 100644 --- a/test/Assembler/2004-11-28-InvalidTypeCrash.ll +++ b/test/Assembler/2004-11-28-InvalidTypeCrash.ll @@ -1,5 +1,5 @@ ; Test for PR463. This program is erroneous, but should not crash llvm-as. -; RUN: not llvm-as < %s -o /dev/null -f |& \ -; RUN: grep {Cannot create a null initialized value of this type} +; 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