aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll
blob: c8d2de6d230a01bd67edfcd7731a5294a5ebd1ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-upgrade < %s | llvm-as | 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
}