URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [deprecated-3.c] - Rev 384
Compare with Previous | Blame | View Log
/* Test __attribute__((deprecated)). Test merging with multiple declarations. Bug 7425. */ /* { dg-do compile } */ /* { dg-options "" } */ void func(void); void func(void) __attribute__((deprecated)); void f(void) { func(); /* { dg-warning "'func' is deprecated" } */ }