☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
libphobos
/
testsuite
/
libphobos.exceptions
/
rt_trap_exceptions_drt.d
☽
☼
libphobos/testsuite/libphobos.exceptions/rt_trap_exceptions_drt.d
code
plain
raw
1
// { dg-shouldfail "uncaught exception" }
2
void test()
3
{
4
int innerLocal = 20;
5
throw new Exception("foo");
6
}
7
void main(string[] args)
8
{
9
string myLocal = "bar";
10
test();
11
}