URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
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 (C++ version). */
|
declarations. Bug 7425 (C++ version). */
|
/* { 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.