blob: 57ca2ffeb5f33b2429819f83adbc3a62ab0a40f5 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; Make sure we don't get an assertion failure, even though this is a parse
2; error
Tanya Lattner8b074702007-11-28 04:57:00 +00003; RUN: not llvm-as < %s -o /dev/null -f |& grep {No arguments}
Dan Gohmanf17a25c2007-07-18 16:29:46 +00004
5%ty = type void (i32)
6
7declare %ty* @foo()
8
9define void @test() {
10 call %ty* @foo( ) ; <%ty*>:0 [#uses=0]
11 ret void
12}
13