c++: noexcept and pointer to member function type [PR113108]
[official-gcc.git] / gcc / testsuite / g++.dg / debug / dwarf2 / pr101378.C
blobec5e44df8045202a60b9e003e1285573be1e4a06
1 // PR debug/101378
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-gdwarf-5 -dA" }
4 // { dg-final { scan-assembler-times "0\[^0-9x\\r\\n\]* DW_AT_data_member_location" 1 } }
5 // { dg-final { scan-assembler-times "1\[^0-9x\\r\\n\]* DW_AT_data_member_location" 1 } }
6 // { dg-final { scan-assembler-times "2\[^0-9x\\r\\n\]* DW_AT_data_member_location" 1 } }
7 // { dg-final { scan-assembler-not "-1\[^0-9x\\r\\n\]* DW_AT_data_member_location" } }
9 struct E {};
10 struct S
12   [[no_unique_address]] E e, f, g;
13 } s;