summaryrefslogtreecommitdiff
path: root/test/Feature/load_module.ll
blob: 14c1153fa5698ae0519be69bf666609a602f6f1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; 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
}