[Issue 23878] New: [REG 2.103] internal compiler error: C++ 'null' template value parameter is not supported
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 2 16:29:45 UTC 2023
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 at puremagic.com
Reporter: ibuclaw at 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);
```
--
More information about the Digitalmars-d-bugs
mailing list