Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr104506-1.c
blob5eb71911b71660f9473908fff9ccae6236da3836
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu11" } */
3 /* PR c/104506: we used to ICE after the error of
4 changing the type. */
6 void
7 foo (double x)
8 /* { dg-message "note: previous definition" "previous definition" { target *-*-* } .-1 } */
10 (void)x;
11 int x; /* { dg-error "redeclared as different kind of symbol" } */