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