blob: bd2b72b3dc45c4e3ce5116f5334c983278665ed4 [file] [log] [blame]
Reid Spencerc0948362007-01-16 18:08:22 +00001; 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
5implementation
6
7declare i31 "printf"(i8*, ...) ;; Prototype for: i32 __builtin_printf(const char*, ...)
8
9define i31 "testvarar"()
10begin
11 call i31(i8*, ...) *%printf(i8 * null, i31 12, i8 42);
12 ret i31 %0
13end
14
15