llvm-mirror/test/Feature/load_module.ll
2007-04-12 01:12:54 +00:00

12 lines
216 B
LLVM

; PR1318
; RUN: llvm-as < %s > %t.bc &&
; RUN: opt -load=%llvmlibsdir/LLVMHello%shlibext -hello \
; RUN: -disable-output %t.bc 2>&1 | grep Hello
@junk = global i32 0
define i32* @somefunk() {
ret i32* @junk
}