digitalmars.D.bugs - [Issue 12920] New: ICE: Internal error: backend/symbol.c 1035
- via Digitalmars-d-bugs (32/32) Jun 14 2014 https://issues.dlang.org/show_bug.cgi?id=12920
https://issues.dlang.org/show_bug.cgi?id=12920 Issue ID: 12920 Summary: ICE: Internal error: backend/symbol.c 1035 Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: schuetzm gmx.net template among(values...) { uint among(Value)(Value value) { switch (value) { foreach (i, v; values) { case v: return i + 1; } default: return 0; } } } void main() { int a, b, c; 2.among!(a, b, c); } --
Jun 14 2014