☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr81247-c.C
☽
☼
gcc/testsuite/g++.dg/parse/pr81247-c.C
code
plain
raw
1
// PR c++/81247 rejected well-formed
2
3
namespace N {
4
template < typename T > class A
5
{
6
// injects a hidden class N::N at instantiation time
7
template < T > friend class N;
8
};
9
}
10
11
void f ()
12
{
13
N::A < int > a1;
14
}