summaryrefslogtreecommitdiff
path: root/test/Linker/AppendingLinkage2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/AppendingLinkage2.ll')
-rw-r--r--test/Linker/AppendingLinkage2.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Linker/AppendingLinkage2.ll b/test/Linker/AppendingLinkage2.ll
index 7385efb1f9..341ca1606b 100644
--- a/test/Linker/AppendingLinkage2.ll
+++ b/test/Linker/AppendingLinkage2.ll
@@ -3,6 +3,7 @@
; RUN: echo "@X = appending global [1 x i32] [i32 8] " | \
; RUN: llvm-as > %t.2.bc
; RUN: llvm-as < %s > %t.1.bc
-; RUN: llvm-link %t.1.bc %t.2.bc -S | grep 7 | grep 8
+; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
+; CHECK: [i32 7, i32 8]
@X = appending global [1 x i32] [ i32 7 ] ; <[1 x i32]*> [#uses=0]