More working CellSPU tests:
[oota-llvm.git] / test / Feature / testvarargs.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | 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 int "printf"(sbyte*, ...)   ;; Prototype for: int __builtin_printf(const char*, ...)
8
9 int "testvarar"()
10 begin
11         call int(sbyte*, ...) *%printf(sbyte * null, int 12, sbyte 42);
12         ret int %0
13 end
14
15