Fix Windows build: replace __func__ with LLVM_FUNCTION_NAME
[oota-llvm.git] / test / Feature / load_module.ll
index 356eceb285eae1aef5ca13094ab0726bd673ce28..14c1153fa5698ae0519be69bf666609a602f6f1e 100644 (file)
@@ -1,6 +1,8 @@
 ; PR1318
-; RUN: llvm-as < %s | opt -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