Sign in
gnu
/
gcc
/
refs/tags/misc/first-auto-changelog-9
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
warning8.C
blob: b5ff3f3de60452489f9430fa03074ef6797d8657 [
file
] [
log
] [
blame
]
// { dg-do assemble }
struct
A
{
A
();
~
A
();
};
struct
B
{
B
(
const
A
&);
~
B
();
};
const
B
&
f
()
{
A a
;
return
a
;
// { dg-warning "" } returning reference to temporary
}