* g++.old-deja/g++.other/inline19.C: New test.

From-SVN: r39357
This commit is contained in:
Gerald Pfeifer 2001-01-31 00:08:44 +00:00
parent bdda33259f
commit 22ef15cf2e
2 changed files with 29 additions and 2 deletions

View File

@ -1,10 +1,14 @@
2001-01-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* g++.old-deja/g++.other/inline19.C: New test.
2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/Wlarger-than.c: New test.
* gcc.dg/Wlarger-than.c: New test.
2001-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/avoidpaste1.c: Fix typos.
* gcc.dg/cpp/avoidpaste1.c: Fix typos.
2001-01-29 Jakub Jelinek <jakub@redhat.com>

View File

@ -0,0 +1,23 @@
// Build don't link:
// Origin: Scott Snyder <snyder@fnal.gov> via PR 1733.
// Special g++ Options: -O1
//
// crash test - XFAIL *-*-*
struct TBtItem
{
TBtItem();
};
struct TBtInnerNode
{
TBtInnerNode();
int MaxIndex() const { return 10; }
};
TBtInnerNode::TBtInnerNode()
{
new TBtItem[MaxIndex()+1];
}