Sign in
gnu
/
gcc
/
refs/heads/devel/icpp2021
/
.
/
gcc
/
testsuite
/
gcc.dg
/
decl-7.c
blob: 14b67baef8b24517262f1a9a758906b4fb615e67 [
file
] [
log
] [
blame
]
/* Test diagnostic for array defaulting to one element. */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
/* { dg-options "" } */
int
a
[];
/* { dg-warning "array 'a' assumed to have one element" } */