aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/pr-1210.cc
blob: 5747e5da58d7966c0cf92cb68e621a3e3d4e43dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class A
{
};

class B : virtual public A
{
};

class C : public A
{
     protected:
         B myB;
};

int main()
{
     C *obj = new C();
     return 0;
}