1 2 3 4 5 6 7 8 9
// PR c++/37530 // { dg-do compile } void foo (bool b) { if (b) try { throw 0; } catch (X) { } // { dg-error "expected type-specifier before" } }