llvm-6502/test/Feature/testvarargs.ll
Chris Lattner a6f1ac40a4 Use null keyword instead of kludge
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@778 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:05:51 +00:00

12 lines
217 B
LLVM

implementation
declare int "printf"(sbyte*, ...) ;; Prototype for: int __builtin_printf(const char*, ...)
int "testvarar"()
begin
call int(sbyte*, ...) *%printf(sbyte * null, int 12, sbyte 42);
ret int %0
end