blob: d3318fe141e675ed0159d141fa5e82b5e8946e30 [file] [log] [blame]
Adrian Prantl04aa6502018-02-06 23:45:59 +00001; RUN: not llvm-as -disable-output <%s 2>&1 | FileCheck %s
2
3!named = !{!0}
4!0 = !DICompositeType(tag: DW_TAG_structure_type, name: "A", size: 64, discriminator: !1)
5!1 = !DIDerivedType(tag: DW_TAG_member, scope: !0, baseType: !3, size: 64, align: 64, flags: DIFlagArtificial)
6!3 = !DIBasicType(name: "u64", size: 64, encoding: DW_ATE_unsigned)
7
8; CHECK: discriminator can only appear on variant part