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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
access7.C
blob
edb4bc9786f7579fd8c3be5ec9d62b021d00c993
1
// { dg-do assemble }
2
// Simple testcase for access control.
3
4
class A {
5
protected:
6
static void f ();
7
};
8
9
class B: public A {};
10
class C: public A {};
11
class D: public C, public B {
12
void g () { A::f(); } // { dg-bogus "" } wrongly ambiguous static member call
13
};