blob: fd4eb3719070192598906756f3057b391473bf6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// { dg-do assemble }
// Simple testcase for access control.
class A {
protected:
static int i;
};
class B: public A { };
class C: public B {
public:
void g () { B b; b.i; }
};
|