summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/debug-7.c
blob: d424e91f304ecd3c039990737a237218badaa59b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-dA" } */
/* PR debug/12934.  */

static inline int foo ()
{
  return 42;
}

void bar (int *);

void baz ()
{
  int a[foo ()];
  bar (a);
}