Chris Lattner | 8890f7b | 2002-07-25 20:52:34 +0000 | [diff] [blame^] | 1 | ; Make sure we don't get an assertion failure, even though this is a parse |
2 | ; error | ||||
3 | ; RUN: as < %s 2>&1 | grep 'No arguments' | ||||
4 | |||||
5 | %ty = type void (int) | ||||
6 | |||||
7 | declare %ty* %foo() | ||||
8 | |||||
9 | void %test() { | ||||
10 | call %ty* %foo( ) ; <%ty*>:0 [#uses=0] | ||||
11 | ret void | ||||
12 | } | ||||
13 |