[IRCE] Re-commit tests cases.
[oota-llvm.git] / test / Transforms / ConstantMerge / 2003-10-28-MergeExternalConstants.ll
index 414bed5d9c4803b669a096235851306fff99620d..a415995070e5459e3a1c460b72d6385b4a6fba2c 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | opt -constmerge | llvm-dis | grep -C 2 foo  | grep bar
+; RUN: opt -S -constmerge < %s | FileCheck %s
 
-%foo = constant int 6
-%bar = constant int 6
-
-implementation
+; CHECK: @foo = constant i32 6
+; CHECK: @bar = constant i32 6
+@foo = constant i32 6           ; <i32*> [#uses=0]
+@bar = constant i32 6           ; <i32*> [#uses=0]