digitalmars.D.bugs - [Issue 23878] New: [REG 2.103] internal compiler error: C++ 'null'
- d-bugmail puremagic.com (24/24) May 02 2023 https://issues.dlang.org/show_bug.cgi?id=23878
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); ``` --
May 02 2023