llvm-for-llvmta/test/Assembler/metadata-decl.ll

12 lines
320 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
; RUN: llvm-as < %s | llvm-dis -materialize-metadata | FileCheck %s
; CHECK: @foo = external global i32, !foo !0
@foo = external global i32, !foo !0
; CHECK: declare !bar !1 void @bar()
declare !bar !1 void @bar()
!0 = distinct !{}
!1 = distinct !{}