For PR1319:
[oota-llvm.git] / test / Feature / globalredefinition2.ll
index d99a80d85ad33d2125effe543981c1575c62c6b9..8ec6ca753540640ce6a1c7056a2a63fa999233f8 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that redefinitions of globals produces an error in llvm-upgrade
-; RUN: llvm-upgrade < %s -o /dev/null -f 2>&1 | \
+; RUN: llvm-upgrade < %s -o /dev/null -f |& \
 ; RUN:   grep "Renaming global variable 'B' to.*linkage errors"
 
 %B = global int 7