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
Regenerate config/avr/avr.opt.urls
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
access4.C
blob
fd4eb3719070192598906756f3057b391473bf6c
1
// { dg-do assemble }
2
// Simple testcase for access control.
3
4
class A {
5
protected:
6
static int i;
7
};
8
9
class B: public A { };
10
11
class C: public B {
12
public:
13
void g () { B b; b.i; }
14
};