llvm.org GIT mirror llvm / 7e621f3 test / Linker / linknamedmdnode.ll
7e621f3

Tree @7e621f3 (Download .tar.gz)

linknamedmdnode.ll @7e621f3raw · history · blame

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}