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