blob: ccfc380b75bf7c98da5d1acfef7fc1bcb99ac3f9 [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
3; RUN: llvm-as < %s -o /dev/null -f |& grep {No arguments}
4
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