blob: a645c84ef3e46f6b5923c71de1ab1a078c2de751 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +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
5
6declare i31 @"printf"(i8*, ...) ;; Prototype for: i32 __builtin_printf(const char*, ...)
7
8define i31 @"testvarar"()
9begin
10 call i31(i8*, ...) *@printf(i8 * null, i31 12, i8 42);
11 ret i31 %1
12end
13
14