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