Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
b42cc22ad4b3cc4c4cd697052b8f1dd85df96d0a
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
auto-fn11.C
blob: a9984aa54a18ef83550c3c1e9584af544e04549e [
file
] [
log
] [
blame
]
// { dg-options -std=c++1y }
auto
f
()
{
return
;
}
// OK, return type is void
auto
*
g
()
{
return
;
}
// { dg-error "no value" }
auto
*
h
()
{
}
// { dg-error "no return statements" }