Don't emit a directory entry for the value in DW_AT_comp_dir, that is always
[oota-llvm.git] / test / Transforms / ConstantMerge / 2003-10-28-MergeExternalConstants.ll
index 72f8ecf7d1c3d12942b25b893efff05f75e7edc0..ce79e3b2964a50d617fccf99df59ec67e6abc1ee 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llvm-upgrade < %s | llvm-as | 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]