Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / parm-forwdecl-2.c
blob42db4b15726c9acfd2da6fc865beb7b293213367
1 /* Test GNU parameter forward declarations. Warning with
2 -pedantic. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-pedantic" } */
7 int f1(int a; int a); /* { dg-warning "ISO C forbids forward parameter declarations" } */
8 int f2(int a; int a) { return 0; } /* { dg-warning "ISO C forbids forward parameter declarations" } */