summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/misc15.C
blob: 2c5f1ae03ac0430f95b21c8ac201155ed2219a17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// GROUPS passed miscellaneous-bugs

struct A {
        int     aa;
};
struct B : public A {
};
struct C : public A {
};
struct D : public C, public B {
        void fun() { C::aa = 10; }
};