2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / Wreturn-type2.c
blobd57a91465175f7cb5a66cf2b7f2292d4d8ba12e0
1 /* Test for cases that should not get the unconditional warning about
2 missing return. */
3 /* { dg-do compile } */
5 f() {} /* { dg-bogus "" "no return warning" } */
6 int g() { abort (); } /* { dg-bogus "" "no return warning" } */
7 int main() {} /* { dg-bogus "" "no return warning" } */