Fix0r a test that mistakenly used %llvmg++ instead of %llvmgxx.
[oota-llvm.git] / test / CBackend / 2003-05-13-VarArgFunction.ll
1 ; This testcase breaks the C backend, because gcc doesn't like (...) functions
2 ; with no arguments at all.
3
4 void %test(long %Ptr) {
5         %P = cast long %Ptr to void(...) *
6         call void(...)* %P(long %Ptr)
7         ret void
8 }