Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wreturn-2.C
blob: 460afd53a8c48962298a2228a58f57713fed813f [
file
] [
log
] [
blame
]
// { dg-do compile }
int
foo
(
int
first
)
{
while
(
true
)
{
return
first
;
}
}
// { dg-bogus "control reaches" }