1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-29 06:52:55 +01:00
llvm-mirror/test/Regression/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll

14 lines
246 B
LLVM
Raw Normal View History

2003-05-31 22:21:13 +02:00
; RUN: if as < %s | opt -funcresolve | dis | grep declare
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi
%Table = constant int(...)* %foo
2003-05-31 22:33:09 +02:00
%Table2 = constant [1 x int(...)* ] [ int(...)* %foo ]
2003-05-31 22:21:13 +02:00
declare int %foo(...)
int %foo() {
ret int 0
}