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