OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial revision
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
access7.C
1
// Simple testcase for access control.
2
// Build don't link:
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(); } // gets bogus error - wrongly ambiguous static member call, XFAIL *-*-*
13
};