1// Build don't link:
2
3typedef struct base1 {
4  int x;
5} base1_t;
6
7typedef struct base2 {
8  int x;
9} base2_t;
10
11class derived1 : public base1 {
12};
13
14class derived2 : public derived1, public base2 {
15};
16
17struct test {
18  derived2& fails;
19  void test1() {
20    fails.base1::x = 5;
21  }
22};
23