Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/Wreturn-type2.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* Test for cases that should not get the unconditional warning about missing return. */ /* { dg-do compile } */ extern void abort (void); f() {} /* { dg-bogus "" "no return warning" } */ int g() { abort (); } /* { dg-bogus "" "no return warning" } */ int main() {} /* { dg-bogus "" "no return warning" } */