Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test8675.d
blob: ecabfdd65670f92546e38df840585f228afc454d [
file
] [
log
] [
blame
]
class
MyError
:
Error
{
this
(
string
msg
)
{
super
(
msg
);
}
}
void
foo
()
nothrow
{
throw
new
Error
(
"Some error"
);
}
void
bar
()
nothrow
{
throw
new
MyError
(
"Some error"
);
}