blob: 020ddf079acb33f947e15253d4a32f00a0590553 [file] [log] [blame]
// PR c++/37530
// { dg-do compile }
void
foo (bool b)
{
if (b)
try { throw 0; } catch (X) { } // { dg-error "type" }
}