1 // Various struct lookup tests. We didn't used to complain about
2 // the definition of C.
5 typedef struct A B; // { dg-error "previous declaration" }
6 struct B; // { dg-error "using typedef-name" }
8 typedef struct { int i; } C; // { dg-error "previous declaration" }
9 struct C; // { dg-error "using typedef-name" }
13 typedef struct D { int i; } D;