3 // { dg-options "-Wreturn-type" }
5 struct C { C (); ~C (); };
29 } // { dg-bogus "control reaches end of non-void function" }
32 f2 (int a, int b, int c, int d)
67 for (int e = 0; e < c; ++e)
78 } // { dg-bogus "control reaches end of non-void function" }
103 } // { dg-bogus "control reaches end of non-void function" }
107 f4 (int a, int b, int c, int d)
142 for (int e = 0; e < c; ++e)
153 } // { dg-bogus "control reaches end of non-void function" }
158 return f3 <0> (a, b);
162 f6 (int a, int b, int c, int d)
164 return f4 <2> (a, b, c, d);