When the two operands of an icmp are equal, there are five possible predicates
[oota-llvm.git] / test / Feature / globalredefinition2.ll
index 4e14b005334966d4b1b5f02accd16420785ca172..9949e052827f126b46f36fd76fd08963f776183b 100644 (file)
@@ -1,6 +1,6 @@
 ; Test that redefinitions of globals produces an error in llvm-upgrade
-; RUN: llvm-upgrade < %s -o /dev/null -f 2>&1 | \
-; RUN:   grep "Global variable '%B' was renamed to '"
+; RUN: llvm-upgrade < %s -o /dev/null -f |&  grep \
+; RUN:    "Renaming global variable 'B' to.*linkage errors"
 
 %B = global int 7
 %B = global int 7