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