Fix Windows build: replace __func__ with LLVM_FUNCTION_NAME
[oota-llvm.git] / test / Feature / load_module.ll
index e2e222f4edcf46e4c49d331198dc6a3f054cdccd..14c1153fa5698ae0519be69bf666609a602f6f1e 100644 (file)
@@ -1,6 +1,8 @@
 ; PR1318
-; RUN: opt < %s -load=%llvmlibsdir/LLVMHello%shlibext -hello \
-; RUN:   -disable-output |& 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