aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/linknamedmdnode.ll
blob: e6b779f1fc5d69c4dce489921dd894360295e7e1 (plain)
1
2
3
4
5
6
; 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}"

!0 = metadata !{i32 42}
!llvm.stuff = !{!0}