Tanya Lattner | cd0aa81 | 2004-11-06 21:40:51 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=c |
2 | |||||
Chris Lattner | f3b467c | 2003-05-13 20:11:21 +0000 | [diff] [blame] | 3 | ; This testcase breaks the C backend, because gcc doesn't like (...) functions |
4 | ; with no arguments at all. | ||||
5 | |||||
6 | void %test(long %Ptr) { | ||||
7 | %P = cast long %Ptr to void(...) * | ||||
8 | call void(...)* %P(long %Ptr) | ||||
9 | ret void | ||||
10 | } |