llvm/test/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll
2006-12-02 04:23:10 +00:00

12 lines
225 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | opt -funcresolve | llvm-dis | not grep declare
%Table = constant int(...)* %foo
%Table2 = constant [1 x int(...)* ] [ int(...)* %foo ]
declare int %foo(...)
int %foo() {
ret int 0
}