URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// { dg-do compile }
|
// { dg-do compile }
|
// Origin: Bill Clarke
|
// Origin: Bill Clarke
|
// PR c++/11097: using declartion for a converter operator to a nested class
|
// PR c++/11097: using declartion for a converter operator to a nested class
|
// in a base type
|
// in a base type
|
|
|
template
|
template
|
struct A
|
struct A
|
{
|
{
|
struct Nested {};
|
struct Nested {};
|
operator Nested*();
|
operator Nested*();
|
};
|
};
|
|
|
template
|
template
|
struct B : A
|
struct B : A
|
{
|
{
|
using A::operator typename A::Nested*;
|
using A::operator typename A::Nested*;
|
};
|
};
|
|
|
template struct B;
|
template struct B;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.