Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / anon-struct-6.c
blobad961c62aea8692dc0be298de9c0ddae642e7e8d
1 /* Test diagnostics for structure member with no type specifier or
2 declarator. Test with no special options. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "" } */
7 struct s {
8 int a;
9 const;
11 /* { dg-warning "warning: useless type qualifier in empty declaration" "empty" { target *-*-* } 9 } */
12 /* { dg-warning "warning: empty declaration" "empty 2" { target *-*-* } 9 } */