1 // { dg-do run } 2 template <class T> 3 void f() throw (T) 4 { 5 throw 7; 6 } 7 8 9 int main() 10 { 11 try { 12 f<int>(); 13 } catch (...) { 14 return 0; 15 } 16 } 17