[IRCE] Re-commit tests cases.
[oota-llvm.git] / test / Transforms / ConstantMerge / 2003-10-28-MergeExternalConstants.ll
index 8cad0019b0ba3556bd4681aa14ac386792535e9c..a415995070e5459e3a1c460b72d6385b4a6fba2c 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | opt -constmerge | llvm-dis | %prcontext foo 2 | 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]