Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.benjamin
/
p13417.C
blob: e705f0dffb516a5fe02c1bfa4773e5cc264707ae [
file
] [
log
] [
blame
]
// { dg-do assemble }
// { dg-options "-Wno-deprecated -Wno-return-type" }
// prms-id: 13417
class
Foo
{
public
:
explicit
Foo
(
int
){}
};
Foo
f
(
10
);
Foo
blat
()
return
f
(
4
){}
// { dg-error "" } named return value