aboutsummaryrefslogtreecommitdiff
path: root/test/Linker/linknamedmdnode.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/linknamedmdnode.ll')
-rw-r--r--test/Linker/linknamedmdnode.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Linker/linknamedmdnode.ll b/test/Linker/linknamedmdnode.ll
index e6b779f1fc..73e7554a90 100644
--- a/test/Linker/linknamedmdnode.ll
+++ b/test/Linker/linknamedmdnode.ll
@@ -1,6 +1,7 @@
; RUN: llvm-as < %s > %t.bc
; RUN: llvm-as < %p/linknamedmdnode2.ll > %t2.bc
-; RUN: llvm-link %t.bc %t2.bc -S | grep "!llvm.stuff = !{!0, !1}"
+; RUN: llvm-link %t.bc %t2.bc -S | FileCheck %s
+; CHECK: !llvm.stuff = !{!0, !1}
!0 = metadata !{i32 42}
!llvm.stuff = !{!0}