OSDN Git Service

* typeck2.c (abstract_virtual_errors): Reword diagnostics, make them
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / inline19.C
1 // { dg-do assemble  }
2 // { dg-options "-O1" }
3 // Origin: Scott Snyder <snyder@fnal.gov> via PR 1733.
4 //
5
6 struct TBtItem
7 {
8    TBtItem();
9 };
10
11
12 struct TBtInnerNode
13 {
14    TBtInnerNode();
15    int     MaxIndex() const { return 10; }
16 };
17
18
19 TBtInnerNode::TBtInnerNode()
20 {
21    new TBtItem[MaxIndex()+1];
22 }