Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr81246.C
blob: 01260e1853431eb3a67c4d69659eb11ee51045c2 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
namespace
N
{
template
<
typename
T
>
class
A
{
template
<
T
>
friend
class
B
;
// { dg-error "not a valid type" "" { target c++17_down } }
};
A
<
float
>
a
;
}