repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
deprecated-4.C
blob
e2f1a2c33cafcc5c8bd95ee6be8a35c114736831
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
}