dmd/compiler/test/runnable/test15779.d
2022-07-09 18:53:07 +02:00

22 lines
266 B
D

// REQUIRED_ARGS: -gx
// https://issues.dlang.org/show_bug.cgi?id=15779
import core.thread;
int main()
{
try
{
bar();
}
catch (Exception e)
{
}
return 0;
}
void bar()
{
new Fiber({ throw new Exception("fly"); }).call();
}