summaryrefslogtreecommitdiff
path: root/test/Transforms/FunctionResolve/2003-06-18-TypePromotion.ll
blob: 9c22cbfca3be65ae4f7faf337ac11cfe9fdef134 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-upgrade < %s | llvm-as | opt -funcresolve | dis | not grep declare

declare void %test(int)

int %callee(int %X) {
  call void %test(int %X)
  ret int 2
}

internal void %test(sbyte) {
  ret void
}