May 02, 2023 [Issue 23878] New: [REG 2.103] internal compiler error: C++ 'null' template value parameter is not supported | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23878 Issue ID: 23878 Summary: [REG 2.103] internal compiler error: C++ 'null' template value parameter is not supported Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ibuclaw@gdcproject.org See PR, which introduced the ICE. https://github.com/dlang/dmd/pull/15100 ``` template Template(T...) { extern(C++) const __gshared int Template = 0; } auto x = Template!(null); ``` -- |
Copyright © 1999-2021 by the D Language Foundation