3 // Posted by Trevor Taylor <ttaylor@powerup.com.au>
5 template<class T> struct A {
7 #if __cplusplus <= 201402L
8 throw(T) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } }
15 #if __cplusplus <= 201402L
16 throw(T) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } }