mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
22 lines
266 B
D
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();
|
|
}
|