Fix PR4313: IPSCCP was not setting the lattice value for the invoke instruction
[oota-llvm.git] / test / Feature / load_module.ll
index 942390e77d288c6f9feb3071035ca9ea9da0a51b..e2e222f4edcf46e4c49d331198dc6a3f054cdccd 100644 (file)
@@ -1,6 +1,10 @@
 ; PR1318
-; RUN: llvm-as < %s > %t.bc &&
-; RUN: opt -load=%llvmlibsdir/LLVMHello%shlibext -hello \
-; RUN:   -disable-output %t.bc 2>&1 | grep Hello
+; RUN: opt < %s -load=%llvmlibsdir/LLVMHello%shlibext -hello \
+; RUN:   -disable-output |& grep Hello
 
 @junk = global i32 0
+
+define i32* @somefunk() {
+  ret i32* @junk
+}
+