aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/nested2.C
blob: 5492b536b43da2aee3ad41e63e92163e0060fc06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Build don't link:
// by Bert Bril <bert@dgb.nl>

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