rt_gccstream/gcc/testsuite/g++.dg/eh/catch4.C

9 lines
118 B
C

// PR c++/28250
// { dg-do compile }
void foo()
{
try { throw; }
catch () {} // { dg-error "type-specifier" }
}