URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [qualified-id4.C] - Rev 693
Compare with Previous | Blame | View Log
// PR c++/48593
template <typename T> struct foo
{
T data;
};
template<typename T> struct bar: public foo<T>
{
void some_func()
{
T* ptr = &(foo<T>::data);
}
};
int main()
{
bar<int>().some_func();
}