diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-25 20:52:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-25 20:52:34 +0000 |
commit | 8890f7b9132cd12c03ad01b050a47f657d0f5b30 (patch) | |
tree | bdd394852ed398a3efcfd6e509a2233f69d10ee9 /test/Assembler | |
parent | 54d10c87157820351827a2f9cff6060b7e69d09d (diff) | |
download | llvm-8890f7b9132cd12c03ad01b050a47f657d0f5b30.tar.gz llvm-8890f7b9132cd12c03ad01b050a47f657d0f5b30.tar.bz2 llvm-8890f7b9132cd12c03ad01b050a47f657d0f5b30.tar.xz |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3100 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r-- | test/Assembler/2002-07-25-ParserAssertionFailure.llx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Assembler/2002-07-25-ParserAssertionFailure.llx b/test/Assembler/2002-07-25-ParserAssertionFailure.llx new file mode 100644 index 0000000000..8c75423621 --- /dev/null +++ b/test/Assembler/2002-07-25-ParserAssertionFailure.llx @@ -0,0 +1,13 @@ +; Make sure we don't get an assertion failure, even though this is a parse +; error +; RUN: as < %s 2>&1 | grep 'No arguments' + +%ty = type void (int) + +declare %ty* %foo() + +void %test() { + call %ty* %foo( ) ; <%ty*>:0 [#uses=0] + ret void +} + |