Use "isa" since the variable isn't used.
[llvm-complete.git] / test / Verifier / diderivedtype-address-space-typedef.ll
blob03a5c6af88d3f0a60cb3d044ea6a9e176e72ddf3
1 ; RUN: not opt -S < %s 2>&1 | FileCheck %s
3 !named = !{!0, !1}
4 !0 = !DIBasicType(tag: DW_TAG_base_type, name: "name", size: 1, align: 2, encoding: DW_ATE_unsigned_char)
5 ; CHECK: DWARF address space only applies to pointer or reference types
6 !1 = !DIDerivedType(tag: DW_TAG_typedef, baseType: !0, size: 32, align: 32, dwarfAddressSpace: 1)