1 // PR c++/6477 2 typedef struct A_ *A; // { dg-message "previous declaration" } 3 typedef struct A B; // { dg-error "typedef|invalid type" } 4