https://issues.dlang.org/show_bug.cgi?id=23120
Issue ID: 23120
Summary: dmd illegal instruction throw expression
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
throwexpr.d
-----------
void main ()
{
auto q = throw new Exception ("test");
}
$ dmd throwexpr
Illegal instruction (core dumped)
$ dmd --version
DMD64 D Compiler v2.100.0
Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved
written by Walter Bright
Reprocible with the compiler used for the dlang.org website examples.
[1]
<http://forum.dlang.org/thread/[email protected]#post-vlgpkziypsnuqimyciqm:40forum.dlang.org>
--