* stkalign.C: New test.

From-SVN: r33253
This commit is contained in:
Alexandre Oliva 2000-04-19 11:17:39 +00:00 committed by Alexandre Oliva
parent 4824d1bb6e
commit b9297e70ac
2 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-04-19 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* stkalign.C: New test.
1999-12-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* nameret2.C: New test.

View File

@ -0,0 +1,19 @@
// Build don't link:
// Copyright (C) 2000 Free Software Foundation
// by Alexandre Oliva <aoliva@cygnus.com>
// distilled from libg++'s Fix.cc
// crash test - XFAIL i*86-*-*
struct Integer {
~Integer () {}
};
void foo (const Integer& y);
Integer bar (const Integer& x);
void show (const Integer& x) {
foo (bar (x));
}