URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Test __attribute__((deprecated)). Test merging with multiple
|
/* Test __attribute__((deprecated)). Test merging with multiple
|
declarations. Bug 7425. */
|
declarations. Bug 7425. */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "" } */
|
/* { dg-options "" } */
|
|
|
void func(void);
|
void func(void);
|
void func(void) __attribute__((deprecated));
|
void func(void) __attribute__((deprecated));
|
|
|
void f(void) {
|
void f(void) {
|
func(); /* { dg-warning "'func' is deprecated" } */
|
func(); /* { dg-warning "'func' is deprecated" } */
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.