blob: 689ee02f249a65a453499184f99af3e0cab09433 [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 "warning: array 'a' assumed to have one element" } */