summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/2005-02-12-ConstantGlobals.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Linker/2005-02-12-ConstantGlobals.ll')
-rw-r--r--llvm/test/Linker/2005-02-12-ConstantGlobals.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/Linker/2005-02-12-ConstantGlobals.ll b/llvm/test/Linker/2005-02-12-ConstantGlobals.ll
index 93709cf50be..db990604d9a 100644
--- a/llvm/test/Linker/2005-02-12-ConstantGlobals.ll
+++ b/llvm/test/Linker/2005-02-12-ConstantGlobals.ll
@@ -3,6 +3,7 @@
; RUN: echo "@X = global i32 7" | llvm-as > %t.2.bc
; RUN: llvm-as < %s > %t.1.bc
-; RUN: llvm-link %t.1.bc %t.2.bc -S | grep "global i32 7"
+; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
+; CHECK: global i32 7
@X = external constant i32 ; <i32*> [#uses=0]
OpenPOWER on IntegriCloud