typedef int C;

class A {
public:
	typedef int B;
	B ib;
	C ic;
};

template<class T>
class TA {
public:
	typedef int B1;
	typedef T B2;
	B1 ib1;
	B2 ib2;
}

A::B gb;
C gc;

void f()
{
	A::B lb;
	C lc;
}
