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++.dg/] [opt/] [compound1.C] - Rev 316
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/33709
// { dg-do compile }
// { dg-options "-O2" }
class S {
virtual void foo ();
};
struct T {
S *s;
void bar (unsigned x) { s = (new S[1]) - x; }
};
Go to most recent revision | Compare with Previous | Blame | View Log