mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-08 23:55:03 +00:00
9 lines
211 B
LLVM
9 lines
211 B
LLVM
|
; This testcase breaks the C backend, because gcc doesn't like (...) functions
|
||
|
; with no arguments at all.
|
||
|
|
||
|
void %test(long %Ptr) {
|
||
|
%P = cast long %Ptr to void(...) *
|
||
|
call void(...)* %P(long %Ptr)
|
||
|
ret void
|
||
|
}
|