From: Chris Lattner Date: Sun, 15 Oct 2006 23:26:28 +0000 (+0000) Subject: testcase that causes the asmparser to assert X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1d4b6bfd3e3b03ec0bcd81bc3116173876c81c6e;p=oota-llvm.git testcase that causes the asmparser to assert git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30969 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Verifier/2006-10-15-AddrLabel.ll b/test/Verifier/2006-10-15-AddrLabel.ll new file mode 100644 index 00000000000..7c68d94f67a --- /dev/null +++ b/test/Verifier/2006-10-15-AddrLabel.ll @@ -0,0 +1,9 @@ +; RUN: not llvm-as %s -o /dev/null -f && +; RUN: llvm-as %s -o /dev/null -f 2>&1 | grep 'Cannot form' + +int %main() { + %foo = call sbyte* %llvm.stacksave() + %foop = cast sbyte* %foo to label* + %nret = load label* %foop + br label %nret; +}