llvm-6502/test/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll
Chris Lattner 87a09562d5 Add another testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6478 91177308-0d34-0410-b5e6-96231b3b80d8
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
}