Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr81247-b.C
blob: b2b035b9baf2729bcf6bb2c63db23cda177405cc [
file
] [
log
] [
blame
]
// PR c++/81247 confused error
namespace
N
{
// { dg-message "previous declaration" }
}
template
<
typename
T
>
class
A
{
// { dg-error "redeclared as different" }
template
<
T
>
friend
class
N
;
};
void
f
()
{
A
<
int
>
a1
;
}