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)
8 {
9 x;
10 }
11 int x; /* { dg-error "conflicting types" } */