]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.dg/special/20000419-2.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.dg / special / 20000419-2.c
diff --git a/gcc/testsuite/gcc.dg/special/20000419-2.c b/gcc/testsuite/gcc.dg/special/20000419-2.c
deleted file mode 100644 (file)
index 05e4729..0000000
+++ /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")));