URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [pr50491.C] - Rev 693
Compare with Previous | Blame | View Log
// { dg-options "-std=c++0x" }
struct GrandParent {
void *get();
};
template<class OBJ>
struct Parent : public GrandParent{
};
template<typename T>
struct Child : public Parent<T> {
using GrandParent::get;
void Foo() {
void* ex = get();
}
};