1 /* { dg-do compile } */
2 /* { dg-options "-gdwarf-2 -dA" } */
3 int array[] = { 0, 1, 2 };
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 } } */
9