https://issues.dlang.org/show_bug.cgi?id=12748
Issue ID: 12748
Summary: ICE: Using typeof(S.init[0]) in type name
specialization.
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: minor
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
I am not sure the syntax is correct, but some error message is expected instead
of the ICE.
---
module test;
void test(S, C : typeof(S.init[0]))(S s, C c) {}
void main() {}
---
--
