]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/declspec-17.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / declspec-17.c
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" } */
6
7 void
8 f (a, b)
9 int; /* { dg-error "empty declaration" } */
10 register; /* { dg-error "empty declaration" } */
11 {
12 }