blob: d6ac3661a39a5881238de2115d6f88c34de5d442 [file] [log] [blame]
// RUN: clang-cc -fsyntax-only -verify %s
class X; // expected-note{{here}}
typedef struct X * X_t;
template<typename T> class Y;
template<class U> struct Y { };
union X { int x; float y; }; // expected-error{{use of 'X' with tag type that does not match previous declaration}}