blob: 3227d145392e2b4c6452e41b61fd301298652f57 [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
Dan Gohman81bc62c2010-01-05 17:55:26 +000010 call i31(i8*, ...) *@printf(i8 * null, i31 12, i8 42)
Dan Gohmanf17a25c2007-07-18 16:29:46 +000011 ret i31 %1
12end
13
14