1 // PR c++/71274 2 // { dg-options -Wdeprecated-declarations } 3 4 struct foo 5 { 6 __attribute__ ((deprecated)) static const int a; 7 }; 8