blob: e1fa9346be5b822bffe173c41ca49130f92f5465 [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
Gabor Greifafb4e8c2008-05-20 22:07:21 +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