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
6declare i32 @printf(i8*, ...)   ;; Prototype for: int __builtin_printf(const char*, ...)
7
8define i32 @testvarar() {
9        call i32 (i8*, ...) @printf( i8* null, i32 12, i8 42 )         ; <i32>:1 [#uses=1]
10        ret i32 %1
11}
12
13