URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do compile }
|
// { dg-do compile }
|
// Origin: Detlef Vollmann
|
// Origin: Detlef Vollmann
|
|
|
// PR c++/8389
|
// PR c++/8389
|
// Access control ICE for typename during instantiation and name mangling
|
// Access control ICE for typename during instantiation and name mangling
|
|
|
template class Base {
|
template class Base {
|
protected:
|
protected:
|
typedef int Type;
|
typedef int Type;
|
};
|
};
|
|
|
template struct Derived : public Base {
|
template struct Derived : public Base {
|
typedef typename Base::Type Type;
|
typedef typename Base::Type Type;
|
template void f(Type = Type()) {}
|
template void f(Type = Type()) {}
|
};
|
};
|
|
|
template void Derived::f (Type);
|
template void Derived::f (Type);
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.