PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / Wreturn-type2.c
blob781414a1ae0767520cf3abd1f0bbff00a9d15804
1 /* Test for cases that should not get the unconditional warning about
2 missing return. */
3 /* { dg-do compile } */
5 extern void abort (void);
7 f() {} /* { dg-bogus "" "no return warning" } */
8 int g() { abort (); } /* { dg-bogus "" "no return warning" } */
9 int main() {} /* { dg-bogus "" "no return warning" } */