URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libmudflap/] [testsuite/] [libmudflap.c++/] [pass28-frag.cxx] - Rev 745
Go to most recent revision | Compare with Previous | Blame | View Log
class foo { char z [10]; public: virtual char *get_z () { return & this->z[0]; } }; class bar: public foo { char q [20]; public: char *get_z () { return & this->q[0]; } }; int main () { foo *x = new bar (); x->get_z()[9] = 'a'; delete x; return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log