Add a test for the -suppress-warnings option.
[oota-llvm.git] / test / Feature / prototype.ll
1 ; RUN: llvm-as < %s | llvm-dis > %t1.ll
2 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3 ; RUN: diff %t1.ll %t2.ll
4
5 declare i32 @bar(i32)
6
7 define i32 @foo(i32 %blah) {
8         %xx = call i32 @bar( i32 %blah )                ; <i32> [#uses=1]
9         ret i32 %xx
10 }
11