aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll
blob: 9c27d84992a88a541d43ac67900f78dd5d49b3a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | grep declare

declare void %test(...)

int %callee() {
  call void(...)* %test(int 5)
  ret int 2
}

internal void %test(int) {
  ret void
}