X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Fspecial%2F20000419-2.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Fspecial%2F20000419-2.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=05e4729572cfeb9dd6ceb35ae5293588cd21e15a;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/special/20000419-2.c b/gcc/testsuite/gcc.dg/special/20000419-2.c deleted file mode 100644 index 05e47295..00000000 --- a/gcc/testsuite/gcc.dg/special/20000419-2.c +++ /dev/null @@ -1,17 +0,0 @@ -/* A static function with a global alias should not get 'defined but - not used' warnings. Exposed by Linux kernel. */ -/* { dg-do compile } */ -/* { dg-options "-Wall" } */ - -extern void do_something (void); -extern void do_something_else (void); - -static int -init_foobar(void) /* { dg-bogus "defined but not used" "not used warning" } */ -{ - do_something(); - do_something_else(); - return 0; -} - -int init_module(void) __attribute__((alias("init_foobar")));