summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/pr49871.c
blob: f5b03ea928d2aa7483e1c5bf73200687fcb1f947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR debug/49871 */
/* { dg-do compile } */
/* { dg-require-effective-target int32plus } */
/* { dg-options "-gdwarf-3 -dA -fno-merge-debug-strings" } */

struct S
{
  char a[1 << 16];
  int b;
} s;

/* { dg-final { scan-assembler "\\(DW_AT_data_member_location\\)\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*\\(DW_FORM_udata\\)" } } */
/* { dg-final { scan-assembler-not "\\(DW_AT_data_member_location\\)\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*\\(DW_FORM_data\[48\]\\)" } } */