Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
}