From 96d7dac55ff322e4ec8aaa1b35d77179f8800753 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 28 Nov 2004 16:47:46 +0000 Subject: new testcase for PR463 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18304 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Assembler/2004-11-28-InvalidTypeCrash.ll | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/Assembler/2004-11-28-InvalidTypeCrash.ll (limited to 'test') diff --git a/test/Assembler/2004-11-28-InvalidTypeCrash.ll b/test/Assembler/2004-11-28-InvalidTypeCrash.ll new file mode 100644 index 0000000..9174264 --- /dev/null +++ b/test/Assembler/2004-11-28-InvalidTypeCrash.ll @@ -0,0 +1,3 @@ +; RUN: (llvm-as < %s) 2>&1 | grep 'Cannot create a' +; Test for PR463. This program is erroneous, but should not crash llvm-as. +%.FOO = internal global %struct.none zeroinitializer -- cgit v1.1