blob: 802ea7a0ad897185b254d3e925cf3a51cf61e372 [file] [log] [blame]
template <typename T>
class X { };
template <typename T>
void f(T t) { }
struct {} unnamed_obj;
void f() {
struct A { };
enum { e1 };
typedef struct {} B;
B b;
X<A> x1;
X<A*> x2;
X<B> x3;
f(e1);
f(unnamed_obj);
f(b);
(void)x1;
(void)x2;
(void)x3;
}