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
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
access1.C
blob
e2e3b275392ec0266c9e9eb55aff2eced595b970
1
// { dg-do assemble }
2
// GROUPS passed access-control
3
class Base
4
{
5
protected:
6
virtual void DoSomething() = 0;
7
};
8
9
class Fibber : public Base
10
{
11
public:
12
void DoBP() {
13
DoSomething();
14
}
15
};
16
17
class Flat : public virtual Fibber
18
{
19
public:
20
void DoIt() {
21
DoSomething();
22
}
23
};