parent
bf3f1a7161
commit
99f3f6cc7e
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue