summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/deprecated-5.C
blob: a015bd50bae655c83ba161fb0e1f624649714277 (plain)
1
2
3
4
// PR c++/16370

struct Foo { int i; } __attribute__ ((deprecated));
void foo() { Foo f; }		// { dg-warning "deprecated" }