mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
24b2d75ac5
Note that this will require a recent version of the linker for Darwin builds with LTO to pass these tests. llvm-svn: 187711
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
|
|
}
|
|
|