OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc/testsuite/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
deprecated-3.c
1
/* Test __attribute__((deprecated)). Test merging with multiple
2
declarations. Bug 7425. */
3
/* { dg-do compile } */
4
/* { dg-options "" } */
5
6
void func(void);
7
void func(void) __attribute__((deprecated));
8
9
void f(void) {
10
func(); /* { dg-warning "'func' is deprecated" } */
11
}