diff options
-rw-r--r-- | test/Assembler/2004-11-28-InvalidTypeCrash.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Assembler/2004-11-28-InvalidTypeCrash.ll b/test/Assembler/2004-11-28-InvalidTypeCrash.ll index b6b03c828c..d0ecd9102a 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 |