June 14, 2014 [Issue 12920] New: ICE: Internal error: backend/symbol.c 1035 | ||||
---|---|---|---|---|
| ||||
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); } -- |
Copyright © 1999-2021 by the D Language Foundation