aboutsummaryrefslogtreecommitdiff
path: root/test/Verifier/diderivedtype-address-space-atomic-type.ll
blob: f7926ed9494641392cf22651f00123d9acfda459 (plain)
1
2
3
4
5
6
; RUN: not opt -S < %s 2>&1 | FileCheck %s

!named = !{!0, !1}
!0 = !DIBasicType(tag: DW_TAG_base_type, name: "name", size: 1, align: 2, encoding: DW_ATE_unsigned_char)
; CHECK: DWARF address space only applies to pointer or reference types
!1 = !DIDerivedType(tag: DW_TAG_atomic_type, baseType: !0, size: 32, align: 32, dwarfAddressSpace: 1)