OSDN Git Service

* gcc.dg/cpp/spacing1.c: Update.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / Wreturn-type2.c
1 /* Test for cases that should not get the unconditional warning about
2    missing return.  */
3 /* { dg-do compile } */
4
5 f() {}                          /* { dg-bogus "" "no return warning" } */
6 int g() { abort (); }           /* { dg-bogus "" "no return warning" } */
7 int main() {}                   /* { dg-bogus "" "no return warning" } */