blob: 1e08b2d61f37dfe7d2be4109e28243c5f38dfafc [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
Tanya Lattnercd0aa812004-11-06 21:40:51 +00002
Chris Lattnerf3b467c2003-05-13 20:11:21 +00003; 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}