llvm.org GIT mirror llvm / release_33 test / Linker / linknamedmdnode.ll
release_33

Tree @release_33 (Download .tar.gz)

linknamedmdnode.ll @release_33raw · history · blame

1
2
3
4
5
6
7
; RUN: llvm-as < %s > %t.bc
; RUN: llvm-as < %p/linknamedmdnode2.ll > %t2.bc
; RUN: llvm-link %t.bc %t2.bc -S | FileCheck %s
; CHECK: !llvm.stuff = !{!0, !1}

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