2004-11-07 14:08:43 +08:00
|
|
|
; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
|
|
|
|
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
|
|
|
|
; RUN: diff %t1.ll %t2.ll
|
|
|
|
|
2001-07-26 06:49:12 +08:00
|
|
|
implementation
|
|
|
|
|
|
|
|
declare int "printf"(sbyte*, ...) ;; Prototype for: int __builtin_printf(const char*, ...)
|
|
|
|
|
|
|
|
int "testvarar"()
|
|
|
|
begin
|
2001-10-13 15:05:51 +08:00
|
|
|
call int(sbyte*, ...) *%printf(sbyte * null, int 12, sbyte 42);
|
2001-07-26 06:49:12 +08:00
|
|
|
ret int %0
|
|
|
|
end
|
|
|
|
|
|
|
|
|