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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
access13.C
blob
c12dd81dc87fb3da5b7162c0ad815d046c6a43c6
1
// PRMS Id: 4955
2
// Build don't link:
3
4
struct A {
5
protected:
6
int i;
7
void f ();
8
};
9
10
struct B: public A {
11
void g () {
12
this->A::i = 1; // gets bogus error - access control failure
13
this->A::f(); // gets bogus error - access control failure
14
}
15
};