Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / anon-struct-7.c
blob18790790f314114b1fa683ecddf63fd0f1f147df
1 /* Test diagnostics for structure member with no type specifier or
2 declarator. Test with -pedantic. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-pedantic" } */
7 struct s {
8 int a;
9 const; /* { dg-warning "warning: ISO C forbids member declarations with no members" } */