From: Reid Spencer Date: Fri, 5 Jan 2007 17:37:59 +0000 (+0000) Subject: Fix this to check for the correct error message. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=869f8eb52b603873192afe58b16bdce2da3ae264;p=oota-llvm.git Fix this to check for the correct error message. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32915 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Assembler/2004-11-28-InvalidTypeCrash.ll b/test/Assembler/2004-11-28-InvalidTypeCrash.ll index b6b03c828cc..d0ecd9102ad 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 resolve type' +; RUN: (llvm-upgrade < %s | llvm-as -o /dev/null -f) 2>&1 | \ +; RUN: grep 'Cannot create a null initialized value of this type!' ; Test for PR463. This program is erroneous, but should not crash llvm-as. %.FOO = internal global %struct.none zeroinitializer