aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr111914.c
blob: 05804bddcb9f7e9eed8f495ba9ae1fa0287986e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */

__attribute__((always_inline))
static inline void f(int n, int (*a())[n])
{
  /* Unused 'a'.  */
}

void g(void)
{
  int (*a())[1];
  f(1, a);
}