summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/nested2.C
blob: 9e2225642ca65ccc7141374f038b07f22cad3e92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// by Bert Bril <bert@dgb.nl>

struct M1 {
    struct I                            {};
};
 
struct M2 {
    struct I                            {};
    struct J : virtual public M2::I,
               virtual public M1::I     {};
};