blob: 1b2c2b846e65d9c54eed87020681e537bec316b9 [file] [log] [blame]
Chris Lattnerf3b467c2003-05-13 20:11:21 +00001; This testcase breaks the C backend, because gcc doesn't like (...) functions
2; with no arguments at all.
3
4void %test(long %Ptr) {
5 %P = cast long %Ptr to void(...) *
6 call void(...)* %P(long %Ptr)
7 ret void
8}