URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [using8.C] - Rev 868
Go to most recent revision | Compare with Previous | Blame | View Log
// { 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);
}
Go to most recent revision | Compare with Previous | Blame | View Log