☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
parse
/
crash48.C
☽
☼
gcc/testsuite/g++.dg/parse/crash48.C
code
plain
raw
1
// PR c++/37530
2
// { dg-do compile }
3
4
void
5
foo (bool b)
6
{
7
if (b)
8
try { throw 0; } catch (X) { } // { dg-error "type" }
9
}