1 // PR c++/19312
2 
3 struct A {};
4 
foo(A a)5 void foo(A a)
6 {
7     throw (A)a;
8 }
9