c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / c-c++-common / dwarf2 / pr83550.c
blob1d77e9530cdb21a3a941fa37a47768be9f71a84b
1 /* PR debug/83550 */
2 /* { dg-do compile } */
3 /* { dg-options "-gdwarf -dA -fno-merge-debug-strings" } */
5 struct my_struct;
6 extern struct my_struct s;
7 struct my_struct { int a, b; };
8 struct my_struct q;
10 /* { dg-final { scan-assembler "DW_TAG_structure_type\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*\"my_struct\[^\\r\\n\]*DW_AT_name(\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*DW_AT_)*\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*\[^0-9a-fA-FxX](0x)?7\[^0-9a-fA-FxX]\[^\\r\\n\]*DW_AT_decl_line" } } */