aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll
blob: c171b184e73b8589085d8bdbdb4155c11f5139bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: if as < %s | opt -funcresolve | dis | grep declare
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi
%Table = constant int(...)* %foo

%Table2 = constant [1 x int(...)* ] [ int(...)* %foo ]

declare int %foo(...)

int %foo() {
  ret int 0
}