Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / struct-semi-1.c
blob091956b4c5fe2f1ec040565e2f93bd94a0415231
1 /* Test diagnostics for missing and extra semicolons in structures.
2 Test with no special options. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "" } */
7 struct s0 { ; };
8 struct s1 {
9 int a;
11 int b;
13 struct s2 {
15 int c
16 }; /* { dg-warning "warning: no semicolon at end of struct or union" } */
17 struct s3 {
18 int d
19 }; /* { dg-warning "warning: no semicolon at end of struct or union" } */