URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// PR c++/7906
|
// PR c++/7906
|
// Origin: Marcel Loose
|
// Origin: Marcel Loose
|
// { dg-do compile }
|
// { dg-do compile }
|
|
|
template struct A { typedef int X; };
|
template struct A { typedef int X; };
|
|
|
template struct B
|
template struct B
|
{
|
{
|
typedef A Y;
|
typedef A Y;
|
struct C { operator typename Y::X() const; };
|
struct C { operator typename Y::X() const; };
|
};
|
};
|
|
|
template B::C::operator typename B::Y::X() const { return 0; }
|
template B::C::operator typename B::Y::X() const { return 0; }
|
|
|
B b;
|
B b;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.