mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 23:42:52 +01:00
aeb9bb8ba4
llvm-svn: 47296
12 lines
316 B
LLVM
12 lines
316 B
LLVM
; RUN: llvm-as < %s | llc -march=c
|
|
|
|
; This testcase breaks the C backend, because gcc doesn't like (...) functions
|
|
; with no arguments at all.
|
|
|
|
define void @test(i64 %Ptr) {
|
|
%P = inttoptr i64 %Ptr to void (...)* ; <void (...)*> [#uses=1]
|
|
call void (...)* %P( i64 %Ptr )
|
|
ret void
|
|
}
|
|
|