[opaque pointer type] Add textual IR support for explicit type parameter to the call...
[oota-llvm.git] / test / Feature / testvarargs.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
6 declare i32 @printf(i8*, ...)   ;; Prototype for: int __builtin_printf(const char*, ...)
7
8 define i32 @testvarar() {
9         call i32 (i8*, ...) @printf( i8* null, i32 12, i8 42 )         ; <i32>:1 [#uses=1]
10         ret i32 %1
11 }
12