aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature/load_module.ll
blob: 356eceb285eae1aef5ca13094ab0726bd673ce28 (plain)
1
2
3
4
5
6
7
8
9
10
; PR1318
; RUN: llvm-as < %s | opt -load=%llvmlibsdir/LLVMHello%shlibext -hello \
; RUN:   -disable-output - |& grep Hello

@junk = global i32 0

define i32* @somefunk() {
  ret i32* @junk
}