https://issues.dlang.org/show_bug.cgi?id=21953

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |rg
           Hardware|x86_64                      |All
            Summary|arrayop accepted on array   |Arrayop accepted on static
                   |of noreturn, leading to     |array, leading to runtime
                   |runtime failure or wrong    |failure or wrong code
                   |code                        |
                 OS|Linux                       |All

--- Comment #1 from [email protected] ---
The code is accepted and crashes even when replacing noreturn with int - not
specific to noreturn.

The commented statement is rightfully rejected.

--

Reply via email to