diff options
Diffstat (limited to 'test/Assembler/2004-11-28-InvalidTypeCrash.ll')
-rw-r--r-- | test/Assembler/2004-11-28-InvalidTypeCrash.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Assembler/2004-11-28-InvalidTypeCrash.ll b/test/Assembler/2004-11-28-InvalidTypeCrash.ll new file mode 100644 index 0000000..5b43b73 --- /dev/null +++ b/test/Assembler/2004-11-28-InvalidTypeCrash.ll @@ -0,0 +1,5 @@ +; Test for PR463. This program is erroneous, but should not crash llvm-as. +; RUN: ignore llvm-as < %s -o /dev/null -f |& \ +; RUN: grep {Cannot create a null initialized value of this type} + +@.FOO = internal global %struct.none zeroinitializer |