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

declare void %test(...)

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

internal void %test(int) {
  ret void
}