aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr108423-2.c
blob: 006e45a96298278eb151c758848dccd847442493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* PR108423
 * { dg-do compile }
 * { dg-options "-O2" }
 */

void f(int n, int (*a(void))[n])
{
	(a())[0];
}

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