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
PR c++/36254
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
deprecated-4.C
1
// PR c++/15269
2
3
struct B {
4
virtual int foo() __attribute__((deprecated));
5
};
6
7
int main(void) {
8
((B*)0)->foo(); // { dg-warning "deprecated" }
9
}