mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
da25716296
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@702 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
237 B
LLVM
13 lines
237 B
LLVM
implementation
|
|
|
|
declare int "printf"(sbyte*, ...) ;; Prototype for: int __builtin_printf(const char*, ...)
|
|
|
|
int "testvarar"()
|
|
begin
|
|
cast int 0 to sbyte*
|
|
call int(sbyte*, ...) *%printf(sbyte * %0, int 12, sbyte 42);
|
|
ret int %0
|
|
end
|
|
|
|
|