* g++.old-deja/g++.other/inline19.C: New test.
From-SVN: r39357
This commit is contained in:
parent
bdda33259f
commit
22ef15cf2e
|
@ -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>
|
||||
|
||||
|
|
|
@ -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];
|
||||
}
|
Loading…
Reference in New Issue