Fix this to check for the correct error message.

llvm-svn: 32915
This commit is contained in:
Reid Spencer 2007-01-05 17:37:59 +00:00
parent ab9842ea8b
commit ec18a463d7
1 changed files with 2 additions and 1 deletions

View File

@ -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