PR c++/11645
[official-gcc.git] / gcc / testsuite / g++.dg / inherit / access4.C
blob33f991b666f79601b40751e35f41951be1a36d2f
1 struct Container { int Count(); };
2 struct List : private Container {
3     using Container::Count;
4 };
5 struct INetContentTypeParameterList : private List { void Clear(); };
6 void INetContentTypeParameterList::Clear() {
7     Count();//Calling non static but in a non-static method.