aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/inherit/access4.C
blob: 33f991b666f79601b40751e35f41951be1a36d2f (plain)
1
2
3
4
5
6
7
8
struct Container { int Count(); };
struct List : private Container {
    using Container::Count;
};
struct INetContentTypeParameterList : private List { void Clear(); };
void INetContentTypeParameterList::Clear() {
    Count();//Calling non static but in a non-static method.
}