June 17, 2014 [Issue 12937] New: ICE with void static array initializing | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12937 Issue ID: 12937 Summary: ICE with void static array initializing Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ice Severity: critical Priority: P1 Component: DMD Assignee: nobody@puremagic.com Reporter: k.hara.pg@gmail.com Test case: void main() { //void[1] sa = [cast(ubyte)1]; // ok //ubyte[] da = [cast(ubyte)1]; //void[1] sa = cast(void[])a; // ok //auto da = cast(void[])[cast(ubyte)1]; // ok void[1] sa2 = cast(void[])[cast(ubyte)1]; // ICE! } -- |
Copyright © 1999-2021 by the D Language Foundation