PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / deprecated-3.c
blob2c35bb314e59c3047c4b1f94bd9c618dd8068a50
1 /* Test __attribute__((deprecated)). Test merging with multiple
2 declarations. Bug 7425. */
3 /* { dg-do compile } */
4 /* { dg-options "" } */
6 void func(void);
7 void func(void) __attribute__((deprecated));
9 void f(void) {
10 func(); /* { dg-warning "'func' is deprecated" } */