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

// There should be no warning about variably-modified types

static int a[0];
static int b[sizeof a];

void foo(int (*x)[*]);

static int c[0];
static int d[sizeof c];