blob: 9e44afaeab79955af23baa661d6a673c1b85ee06 [file] [log] [blame]
Chris Lattner8890f7b2002-07-25 20:52:34 +00001; Make sure we don't get an assertion failure, even though this is a parse
2; error
Misha Brukman14285c82003-09-15 20:02:53 +00003; RUN: llvm-as < %s 2>&1 | grep 'No arguments'
Chris Lattner8890f7b2002-07-25 20:52:34 +00004
5%ty = type void (int)
6
7declare %ty* %foo()
8
9void %test() {
10 call %ty* %foo( ) ; <%ty*>:0 [#uses=0]
11 ret void
12}
13