Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / declspec-17.c
blob5be737e00d36431f3cbe1c52b2cdda3618b26690
1 /* Test diagnostic for empty declarations in old-style parameter
2 declarations. Test with -pedantic-errors. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-std=gnu89 -pedantic-errors" } */
7 void
8 f (a, b)
9 int; /* { dg-error "error: empty declaration" } */
10 register; /* { dg-error "error: empty declaration" } */