Chris Lattner | cfea29f | 2003-05-31 21:04:39 +0000 | [diff] [blame^] | 1 | ; RUN: if as < %s | opt -funcresolve | dis | grep declare |
2 | ; RUN: then exit 1 | ||||
3 | ; RUN: else exit 0 | ||||
4 | ; RUN: fi | ||||
5 | |||||
6 | declare void %test(...) | ||||
7 | |||||
8 | int %callee() { | ||||
9 | call void(...)* %test(int 5) | ||||
10 | ret int 2 | ||||
11 | } | ||||
12 | |||||
13 | internal void %test(int) { | ||||
14 | ret void | ||||
15 | } |