(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
warn/
Wreturn-2.C
// { dg-do compile }
int foo(int first) {
  while (true) {
    return first;
  }
} // { dg-bogus "control reaches" }