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
PR testsuite/86649
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
access9.C
blob
cdbc6404393373f25dd527cfb31415be30f036bb
1
// PR c++/66957
2
3
class BaseClass {
4
protected:
5
static int x;
6
};
7
8
struct DerivedA : BaseClass { };
9
10
struct DerivedB : BaseClass {
11
DerivedB() {
12
(void) DerivedA::x;
13
}
14
};