blob: 1e08b2d61f37dfe7d2be4109e28243c5f38dfafc [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
2
3; This testcase breaks the C backend, because gcc doesn't like (...) functions
4; with no arguments at all.
5
6void %test(long %Ptr) {
7 %P = cast long %Ptr to void(...) *
8 call void(...)* %P(long %Ptr)
9 ret void
10}