X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FFeature%2Fload_module.ll;h=14c1153fa5698ae0519be69bf666609a602f6f1e;hb=341c5fbe840cffedc4155a2cf130626d2bba11b5;hp=b229e261e810df04799c95a6dabac82a3d44fdb8;hpb=2a70657b5fa1d9265307b9dffbbacf6991ae7152;p=oota-llvm.git diff --git a/test/Feature/load_module.ll b/test/Feature/load_module.ll index b229e261e81..14c1153fa56 100644 --- a/test/Feature/load_module.ll +++ b/test/Feature/load_module.ll @@ -1,6 +1,12 @@ ; PR1318 -; RUN: llvm-as < %s > %t.bc && -; RUN: opt -load=%llvmlibsdir/LLVMHello%shlibext -hello \ -; RUN: -disable-output %t.bc | grep Hello +; 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 +} +