summaryrefslogtreecommitdiff
path: root/test/Feature/testvarargs.ll
blob: a26c81ac5b5171c77f0559e41f7819842a2e7e31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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