Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
;
}