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