URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [opr-dot1.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
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;
}
};
Go to most recent revision | Compare with Previous | Blame | View Log