X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Freturn-type-1.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Freturn-type-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=2507cafa5e4f872b42109cb2a6a15737946ad897;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/return-type-1.c b/gcc/testsuite/gcc.dg/return-type-1.c deleted file mode 100644 index 2507cafa..00000000 --- a/gcc/testsuite/gcc.dg/return-type-1.c +++ /dev/null @@ -1,9 +0,0 @@ -/* Missing warning for falling off the end of a non-void function. - egcs-1.1.2 passes, egcs-ss-19990428 fails. - http://gcc.gnu.org/ml/gcc-bugs/1999-03n/msg00221.html */ -/* { dg-do compile } */ -/* { dg-options "-O -Wreturn-type" } */ -int -foo(void) -{ -} /* { dg-warning "control reaches end of non-void function" "warning for falling off end of non-void function" } */