mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 05:41:40 +00:00
4572ce85b0
llvm-svn: 33296
11 lines
262 B
LLVM
11 lines
262 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
|
|
|
|
; 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
|
|
}
|