When removing a function from the function set and adding it to deferred, we
[llvm.git] / test / Feature / load_module.ll
blob05f6c238134f4b9daeda4f4f8ad95a385f1099dc
1 ; PR1318
2 ; RUN: opt < %s -load=%llvmshlibdir/LLVMHello%shlibext -hello \
3 ; RUN:   -disable-output |& grep Hello
4 ; REQUIRES: loadable_module
5 ; FIXME: On Cygming, it might fail without building LLVMHello manually.
7 @junk = global i32 0
9 define i32* @somefunk() {
10   ret i32* @junk