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
/
access7.C
blob
2a7ca3c42acb19415ca665f6b4ec2e4809eb9260
1
// { dg-do compile }
2
3
// Origin: Paolo Carlini <pcarlini@unitus.it>
4
5
// PR c++/5655: Access of member redeclaration.
6
7
struct S {
8
class A;
9
template <class T> class B;
10
private:
11
class A {}; // { dg-error "different access" }
12
template <class T> class B {}; // { dg-error "different access" }
13
};