Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr104506-3.c
blobb14deb5cf25f195af3004a1168006d31569bda9a
1 /* { dg-do compile } */
2 /* PR c/104506: we used to ICE after the error of
3 changing the type. */
4 double x;
5 /* { dg-message "note: previous declaration" "previous declaration" { target *-*-* } .-1 } */
6 void
7 foo (void)
9 x;
11 int x; /* { dg-error "conflicting types" } */