URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [opt/] [compound1.C] - Rev 826
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; }
};