| 1 |
// { dg-do assemble { target c++14_down } } |
| 2 |
// Bug: g++ forgets to instantiate A<int> |
| 3 |
// Contributed by Jason Merrill <[email protected]> |
| 4 |
|
| 5 |
template <class T> struct A { }; |
| 6 |
void f () throw (A<int>); // { dg-warning "deprecated" "" { target c++11 } } |