☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
hidden-class8.C
☽
☼
gcc/testsuite/g++.dg/lookup/hidden-class8.C
code
plain
raw
1
// Copyright (C) 2005 Free Software Foundation
2
// Contributed by Kriang Lerdsuwanakij <
[email protected]
>
3
// { dg-do compile }
4
5
namespace N {
6
class A {
7
friend class B;
8
};
9
}
10
11
class N::B { // { dg-error "not name a class" }
12
};