Chris Lattner | f3b467c | 2003-05-13 20:11:21 +0000 | [diff] [blame^] | 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 | } |