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++.other/] [inline19.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-O1" }
// Origin: Scott Snyder <snyder@fnal.gov> via PR 1733.
//
struct TBtItem
{
TBtItem();
};
struct TBtInnerNode
{
TBtInnerNode();
int MaxIndex() const { return 10; }
};
TBtInnerNode::TBtInnerNode()
{
new TBtItem[MaxIndex()+1];
}
Go to most recent revision | Compare with Previous | Blame | View Log