Debian Codegraph @

gcc/testsuite/gcc.dg/debug/dwarf2/pr49871.c

raw
1 /* PR debug/49871 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target int32plus } */
4 /* { dg-options "-gdwarf-3 -dA -fno-merge-debug-strings" } */
5
6 struct S
7 {
8 char a[1 << 16];
9 int b;
10 } s;
11
12 /* { dg-final { scan-assembler "\\(DW_AT_data_member_location\\)\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*\\(DW_FORM_udata\\)" } } */
13 /* { dg-final { scan-assembler-not "\\(DW_AT_data_member_location\\)\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*\\(DW_FORM_data\[48\]\\)" } } */