blob: 45638a08833479f12ff3e1d2f6b5116fe70b1a1b [file] [log] [blame]
Tanya Lattnercd0aa812004-11-06 21:40:51 +00001; RUN: llvm-as < %s | llc -march=c
2
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}