68cb36414c438c99a1600555bb453641a1f44bee
[oota-llvm.git] / test / Integer / testvarargs_bt.ll
1 ; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
2 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3 ; RUN: diff %t1.ll %t2.ll
4
5 implementation
6
7 declare i31 @"printf"(i8*, ...)   ;; Prototype for: i32 __builtin_printf(const char*, ...)
8
9 define i31 @"testvarar"()
10 begin
11         call i31(i8*, ...) *@printf(i8 * null, i31 12, i8 42);
12         ret i31 %1
13 end
14
15