// RUN: %clang_cc1 -verify %s
structS{typedefstruct A {}A;// expected-note {{previous definition is here}}
typedefstruct B B;typedef A A;// expected-error {{redefinition of 'A'}}
structC{};typedefstruct C OtherC;typedef OtherC C;typedefstruct D {}D2;typedef D2 D;};