mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 04:31:08 +00:00
87a09562d5
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6478 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
246 B
LLVM
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
|
|
}
|