mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
9c6d857c61
Note that this will require a recent version of the linker for Darwin builds with LTO to pass these tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187711 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
285 B
LLVM
13 lines
285 B
LLVM
; PR1318
|
|
; RUN: opt < %s -load=%llvmshlibdir/LLVMHello%shlibext -hello \
|
|
; RUN: -disable-output 2>&1 | grep Hello
|
|
; REQUIRES: loadable_module
|
|
; FIXME: On Cygming, it might fail without building LLVMHello manually.
|
|
|
|
@junk = global i32 0
|
|
|
|
define i32* @somefunk() {
|
|
ret i32* @junk
|
|
}
|
|
|