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: Wolfgang Bangerth
|
// Origin: Wolfgang Bangerth
|
|
|
// PR c++/9453
|
// PR c++/9453
|
// Access checking when template friend is defined in class.
|
// Access checking when template friend is defined in class.
|
|
|
template class X {
|
template class X {
|
private:
|
private:
|
struct Inner;
|
struct Inner;
|
|
|
template
|
template
|
friend typename X::Inner * foo () { return 0; }
|
friend typename X::Inner * foo () { return 0; }
|
};
|
};
|
template class X;
|
template class X;
|
|
|
struct U {
|
struct U {
|
void bar () { foo (); }
|
void bar () { foo (); }
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.