blob: acef6ad9c2bfe14be8c45671d392b81dd13c7b95 [file] [log] [blame]
// Build don't link:
typedef struct base1 {
int x;
} base1_t;
typedef struct base2 {
int x;
} base2_t;
class derived1 : public base1 {
};
class derived2 : public derived1, public base2 {
};
struct test {
derived2& fails;
void test1() {
fails.base1::x = 5;
}
};