[Issue 22877] importC: wrong sizeof for string literal

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 26 08:45:17 UTC 2022


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

--- Comment #4 from Steven Dwy <me at yoplitein.net> ---
(In reply to Steven Dwy from comment #3)
> Additionally, the following invalid code is now accepted:
> ```
> char(**s1)[3] = &(&"aa");
> char(***s2)[3] = &(&(&"aa"));
> // and so on
> ```

My bad, seems to actually be from the fix for issue 22070.

--


More information about the Digitalmars-d-bugs mailing list