[llvm-readobj/ELF] Factor out common code.
[oota-llvm.git] / test / Verifier / SelfReferential.ll
index c013bfb6a188afab7905ed5b84841546f34c6809..7f0166a158d54f2bee6937ba7c4774f889f3a02f 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: not llvm-as -f %s -o /dev/null |& grep {Only PHI nodes may reference their own value}
+; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
+; CHECK: Only PHI nodes may reference their own value
 
 ; Test that self referential instructions are not allowed