URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [inline19.C] - Rev 12
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];
}