X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Funused-2.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Funused-2.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=454606ec95ee3760b966865892e068e25ff58ef4;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/unused-2.c b/gcc/testsuite/gcc.dg/unused-2.c deleted file mode 100644 index 454606ec..00000000 --- a/gcc/testsuite/gcc.dg/unused-2.c +++ /dev/null @@ -1,18 +0,0 @@ -/* Copyright (C) 2000 Free Software Foundation. - - by Alexandre Oliva */ - -/* { dg-do compile } */ -/* { dg-options "-O2 -finline-functions -Wunused -Wreturn-type" } */ - -static void -foo () -{ - skip_it: ; /* { dg-warning "defined but not used" "unused label warning" } */ -} - -void -bar () -{ - foo (); -}