Fix bug in regression tests that ignored stderr output in RUN lines. Updated tests...
[oota-llvm.git] / test / Assembler / 2007-04-15-BadIntrinsic.ll
1 ; RUN: not llvm-as < %s -o /dev/null -f |& grep {Call to invalid LLVM intrinsic}
2
3 declare i32 @llvm.foobar(i32 %foo)
4
5 define i32 @test() {
6   %nada = call i32 @llvm.foobar(i32 0)
7   ret i32 %nada
8 }
9