Debian Codegraph @

gcc/testsuite/gcc.dg/debug/dwarf2/array-2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-gdwarf-2 -dA" } */
3 int array[42];
4
5 /* Verify that we get only one DW_TAG_subtrange_type (plus abbrev)
6 with DW_AT_upper_bound. */
7 /* { dg-final { scan-assembler-times " DW_TAG_subrange_type" 2 } } */
8 /* { dg-final { scan-assembler-times " DW_AT_upper_bound" 1 } } */