llvm-project/llvm/test/Linker/linknamedmdnode.ll

7 lines
196 B
LLVM
Raw Normal View History

2009-08-12 02:01:24 +08:00
; RUN: llvm-as < %s > %t.bc
; RUN: llvm-as < %p/linknamedmdnode2.ll > %t2.bc
; RUN: llvm-link %t.bc %t2.bc | llvm-dis | grep "!llvm.stuff = !{!0, !1}"
!0 = metadata !{i32 42}
!llvm.stuff = !{!0}