1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/test/Regression/CBackend/2003-05-13-VarArgFunction.ll
Chris Lattner 406680c2a8 New testcase
llvm-svn: 6171
2003-05-13 20:11:21 +00:00

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
}