blob: a79158710f52c3aa75b712e58a7f0780ff060932 [file] [log] [blame]
// { dg-do compile }
// Origin: Sergey Shandar <comer@pisem.net>
// PR c++/9810: Access checking for member function template
// appeared in using declaration.
struct A
{
template<class R> void F(R) {}
};
struct B: private A
{
using A::F;
};
int main()
{
B b;
b.F(3);
}