blob: d6ac3661a39a5881238de2115d6f88c34de5d442 [file] [log] [blame]
Douglas Gregored4ec8f2009-05-03 17:18:57 +00001// RUN: clang-cc -fsyntax-only -verify %s
2class X; // expected-note{{here}}
3typedef struct X * X_t;
4
5template<typename T> class Y;
6template<class U> struct Y { };
7
8union X { int x; float y; }; // expected-error{{use of 'X' with tag type that does not match previous declaration}}