summaryrefslogtreecommitdiff
path: root/test/Linker/2003-04-23-LinkOnceLost.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/2003-04-23-LinkOnceLost.ll')
-rw-r--r--test/Linker/2003-04-23-LinkOnceLost.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Linker/2003-04-23-LinkOnceLost.ll b/test/Linker/2003-04-23-LinkOnceLost.ll
index 98a943a5344bd..e4528906e0243 100644
--- a/test/Linker/2003-04-23-LinkOnceLost.ll
+++ b/test/Linker/2003-04-23-LinkOnceLost.ll
@@ -4,7 +4,8 @@
; RUN: echo " define linkonce void @foo() { ret void } " | \
; RUN: llvm-as -o %t.2.bc
; RUN: llvm-as %s -o %t.1.bc
-; RUN: llvm-link %t.1.bc %t.2.bc -S | grep foo | grep linkonce
+; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
+; CHECK: linkonce{{.*}}foo
declare void @foo()