]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.old-deja/g++.other/access4.C
spec4.C: Remove stray semicolon.
[gcc.git] / gcc / testsuite / g++.old-deja / g++.other / access4.C
CommitLineData
d6479fe7
MM
1// Build don't link:
2
876200a8 3struct A { // ERROR - inaccessible
d6479fe7
MM
4 static int i;
5};
6
7struct B : private A { };
8
9struct C : public B {
876200a8 10 int f () { return A::i; } // ERROR - context
d6479fe7 11};
This page took 1.165402 seconds and 5 git commands to generate.