* nameret2.C: New test.

From-SVN: r31069
This commit is contained in:
Alexandre Oliva 1999-12-22 09:21:44 +00:00 committed by Alexandre Oliva
parent bf3f1a7161
commit 99f3f6cc7e
2 changed files with 17 additions and 0 deletions

View File

@ -1,5 +1,7 @@
1999-12-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* nameret2.C: New test.
* nameret1.C: New test.
* template10.C: New test.

View File

@ -0,0 +1,15 @@
// Copyright (C) 1999 Free Software Foundation
// by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
// distilled from libg++'s Integer.cc
// Special g++ Options:
// crash test - XFAIL *-*-*
inline int bar () return r {}
int& foo (int& x) {
bar ();
return x;
}