URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 338 |
// Copyright (C) 2004 Free Software Foundation
|
// Copyright (C) 2004 Free Software Foundation
|
// Contributed by Kriang Lerdsuwanakij
|
// Contributed by Kriang Lerdsuwanakij
|
// { dg-do compile }
|
// { dg-do compile }
|
|
|
// Friend name lookup in class defined outside its namespace
|
// Friend name lookup in class defined outside its namespace
|
|
|
namespace A {
|
namespace A {
|
class B;
|
class B;
|
class C;
|
class C;
|
}
|
}
|
|
|
class A::B {
|
class A::B {
|
friend class C;
|
friend class C;
|
typedef int i;
|
typedef int i;
|
};
|
};
|
|
|
class A::C {
|
class A::C {
|
A::B::i j;
|
A::B::i j;
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.