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

void f(int n, int (*(*b)(void))[n])
{
    sizeof (*(*b)());
}

int (*a(void))[1];

void g(void)
{
	    f(1, &a);
}