summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/pr31230.c
blob: ce26ec639c32c0d694f08e1ab102bd903f29842b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-do compile } */
/* { dg-options "-gdwarf-2 -dA --param ggc-min-expand=0 --param ggc-min-heapsize=0" } */
/* { dg-final { scan-assembler-times "DIE.*DW_TAG_array_type" 1  } } */
/* { dg-final { scan-assembler-times "DIE.*DW_TAG_subrange_type" 1  } } */

void f1 (void)
{
  char buffer1[100];
}

int f2 (void)
{
  return 0;
}

void f3 (void)
{
  char buffer2[100];
}