Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr81247-c.C
blob: 33183c5294b2a14b7e651dae7b409a422df4ecf5 [
file
] [
log
] [
blame
]
// PR c++/81247 rejected well-formed
namespace
N
{
template
<
typename
T
>
class
A
{
// injects a hidden class N::N at instantiation time
template
<
T
>
friend
class
N
;
};
}
void
f
()
{
N
::
A
<
int
>
a1
;
}