Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / warn / Wreturn-2.C
blob460afd53a8c48962298a2228a58f57713fed813f
1 // { dg-do compile }
2 int foo(int first) {
3   while (true) {
4     return first;
5   }
6 } // { dg-bogus "control reaches" }