aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr108423-1.c
blob: 0c98d1d46b9184a06646be22b544f7ea355dfec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* PR108423
 * { dg-do compile }
 * { dg-options "-O2 -Wno-int-conversion -Wno-incompatible-pointer-types" }
 */
int f (int n, int (**(*a)(void))[n])
{
	return (*a())[0];
}
int g ()
{
	int m = 3;
	int (*a[m])(void);
	return f(m, &a);
}