3 template<typename T> struct __attribute__ ((deprecated)) S {};
4 S<int> s; // { dg-warning "deprecated" }
6 template <template <class> class T> struct A { };
7 A<S> a; // { dg-warning "deprecated" }
9 template <class T> void f() __attribute__ ((deprecated));
13 f<int>(); // { dg-warning "deprecated" }
14 void (*p)() = f<char>; // { dg-warning "deprecated" }