2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / opr-dot1.C
bloba761a40c2b6f9767ec5476773efdb0752ac3be3d
1 // { dg-do assemble  }
3 typedef struct base1 {
4   int x;
5 } base1_t;
7 typedef struct base2 {
8   int x;
9 } base2_t;
11 class derived1 : public base1 {
14 class derived2 : public derived1, public base2 {
17 struct test {
18   derived2& fails;
19   void test1() {
20     fails.base1::x = 5;
21   }