llvm-project/llvm/test/Regression/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll
Chris Lattner 9c6e99cae6 Add another testcase
llvm-svn: 6478
2003-05-31 20:33:09 +00:00

14 lines
246 B
LLVM

; 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
}