1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/CodeGen/CBackend/2003-05-13-VarArgFunction.ll
Tanya Lattner aeb9bb8ba4 Remove llvm-upgrade and update tests.
llvm-svn: 47296
2008-02-19 01:41:04 +00:00

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
}