summaryrefslogtreecommitdiffstats
path: root/test/Linker/2005-02-12-ConstantGlobals.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/2005-02-12-ConstantGlobals.ll')
-rw-r--r--test/Linker/2005-02-12-ConstantGlobals.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Linker/2005-02-12-ConstantGlobals.ll b/test/Linker/2005-02-12-ConstantGlobals.ll
index 93709cf..db99060 100644
--- a/test/Linker/2005-02-12-ConstantGlobals.ll
+++ b/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