Initial support for anti-dependence breaking. Currently this code does not
[oota-llvm.git] / test / CodeGen / CBackend / 2003-05-13-VarArgFunction.ll
1 ; RUN: llvm-as < %s | llc -march=c
2
3 ; This testcase breaks the C backend, because gcc doesn't like (...) functions
4 ; with no arguments at all.
5
6 define void @test(i64 %Ptr) {
7         %P = inttoptr i64 %Ptr to void (...)*           ; <void (...)*> [#uses=1]
8         call void (...)* %P( i64 %Ptr )
9         ret void
10 }
11