llvm-6502/test/Linker/linknamedmdnode.ll
2009-09-15 15:38:31 +00:00

7 lines
188 B
LLVM

; 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}