1 // PR c++/28523 2 3 class A {}; 4 class B : public A {}; 5 main()6 int main() 7 { 8 throw (A) B(); 9 return 0; 10 } 11