Fix bug in regression tests that ignored stderr output in RUN lines. Updated tests...
[oota-llvm.git] / test / Assembler / 2002-07-25-ParserAssertionFailure.llx
1 ; Make sure we don't get an assertion failure, even though this is a parse 
2 ; error
3 ; RUN: not llvm-as < %s -o /dev/null -f |& grep {No arguments}
4
5 %ty = type void (i32)
6
7 declare %ty* @foo()
8
9 define void @test() {
10         call %ty* @foo( )               ; <%ty*>:0 [#uses=0]
11         ret void
12 }
13