1 // RUN: clang-cc -fsyntax-only -verify %s
2 struct X { // expected-note{{previous definition is here}}
3 struct X { } x; // expected-error{{nested redefinition of 'X'}}
8 struct Y { }; // okay: this is a different Y
13 struct T { int x; } t;
14 struct U { int x; } u;