blob: 964dd698d30943f0bcdbda424652d774b0cd6254 [file] [log] [blame]
// PR c++/28523
class A {};
class B : public A {};
int main()
{
throw (A) B();
return 0;
}