Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.benjamin
/
15800-2.C
blob: 6149da6becaf5ceb3cc0a08cf1189aa0dfef3abd [
file
] [
log
] [
blame
]
// { dg-do assemble }
// 981203 bkoz
// g++/15800 + test
struct
panama
{
panama
();
panama
(
panama
&);
panama
&
operator
=(
panama
&);
panama
&
getref
()
{
return
*
this
;
}
};
extern
panama dig
();
void
foo
()
{
panama obj
;
obj
=
dig
().
getref
();
}