* stkalign.C: New test.
From-SVN: r33253
This commit is contained in:
parent
4824d1bb6e
commit
b9297e70ac
@ -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.
|
||||
|
19
gcc/testsuite/g++.old-deja/g++.oliva/stkalign.C
Normal file
19
gcc/testsuite/g++.old-deja/g++.oliva/stkalign.C
Normal 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));
|
||||
}
|
Loading…
Reference in New Issue
Block a user