Fix PR2434. When scanning for exising binary operator to reuse don't
[oota-llvm.git] / test / Feature / globalredefinition3.ll
index 8e81d219e2434615811f9da50c8462891d74cc29..bbac2e985aa2045e13ff81ecc2c75133d1efaf27 100644 (file)
@@ -1,8 +1,6 @@
-; When PR1067 is fixed, this should not be XFAIL any more.
-; RUN: llvm-as < %s -o /dev/null -f 2>&1 | \
-; RUN:   grep "Redefinition of global variable named 'B'"
-
-; Test forward references and redefinitions of globals
+; RUN: not llvm-as %s -o /dev/null -f |& grep \
+; RUN:   "Redefinition of global variable named 'B'"
+; END.
 
 @B = global i32 7
 @B = global i32 7