repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr81247-b.C
blob
b2b035b9baf2729bcf6bb2c63db23cda177405cc
1
// PR c++/81247 confused error
2
3
namespace N { // { dg-message "previous declaration" }
4
}
5
6
template < typename T > class A
7
{ // { dg-error "redeclared as different" }
8
template < T > friend class N;
9
};
10
11
void f ()
12
{
13
A < int > a1;
14
}