Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / declspec-16.c
blob598623930a2faf7dae624cb7dcb66eb1eca8babc
1 /* Test diagnostic for empty declarations in old-style parameter
2 declarations. Test with -pedantic. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-std=gnu89 -pedantic" } */
7 void
8 f (a, b)
9 int; /* { dg-warning "empty declaration" } */
10 register; /* { dg-warning "empty declaration" } */