// RUN: clang-cc -fsyntax-only -verify %s class X; // expected-note{{here}} typedef struct X * X_t; template class Y; template struct Y { }; union X { int x; float y; }; // expected-error{{use of 'X' with tag type that does not match previous declaration}}