OSDN Git Service

* gcc.dg/altivec-21.c: Use dg-error only for ilp32.
[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 extern void abort (void);
6
7 f() {}                          /* { dg-bogus "" "no return warning" } */
8 int g() { abort (); }           /* { dg-bogus "" "no return warning" } */
9 int main() {}                   /* { dg-bogus "" "no return warning" } */