llvm-for-llvmta/test/Linker/linknamedmdnode.ll

8 lines
194 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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 = !{i32 42}
!llvm.stuff = !{!0}