1 /* A static function with a global alias should not get 'defined but
2 not used' warnings. Exposed by Linux kernel. */
3 /* { dg-do compile } */
4 /* { dg-require-alias "" } */
5 /* { dg-options "-Wall" } */
7 extern void do_something (void);
8 extern void do_something_else (void);
11 init_foobar(void) /* { dg-bogus "defined but not used" "not used warning" } */
18 int init_module(void) __attribute__((alias("init_foobar")));