mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
61e22ea592
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193562 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
379 B
LLVM
17 lines
379 B
LLVM
; RUN: %lli_mcjit -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null
|
|
|
|
; This fails because __main is not resolved in remote mcjit.
|
|
; XFAIL: cygwin,mingw32
|
|
|
|
declare i32 @FB()
|
|
|
|
define i32 @FA() {
|
|
ret i32 0
|
|
}
|
|
|
|
define i32 @main() {
|
|
%r = call i32 @FB( ) ; <i32> [#uses=1]
|
|
ret i32 %r
|
|
}
|
|
|