1/* Test __attribute__((deprecated)). Test merging with multiple 2 declarations. Bug 7425 (C++ version). */ 3/* { dg-do compile } */ 4/* { dg-options "" } */ 5 6void func(void); 7void func(void) __attribute__((deprecated)); 8 9void f(void) { 10 func(); /* { dg-warning "'func' is deprecated" } */ 11} 12