IVOPT performance tuning patch. The main problem is a variant of maximal weight
[official-gcc.git] / gcc / testsuite / gcc.dg / declspec-17.c
blobd27faa1b31bcea7ac313c887bddf99fcaa2bb10a
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 "empty declaration" } */
10 register; /* { dg-error "empty declaration" } */