Debian Codegraph @

gcc/testsuite/g++.dg/warn/Wreturn-2.C

raw
1 // { dg-do compile }
2 int foo(int first) {
3 while (true) {
4 return first;
5 }
6 } // { dg-bogus "control reaches" }
7