1 // { dg-do compile { target c++11 } }
2 // { dg-options "-gdwarf-2 -dA -gno-strict-dwarf" }
3 // { dg-final { scan-assembler-times "DIE\[^\n\r\]*DW_TAG_enumeration_type" 3 } }
4 // { dg-final { scan-assembler-times " DW_AT_enum_class" 2 } }
7 enum struct B { b1, b2 } b;
8 enum class C { c1, c2 } c;