[Issue 15690] New: [ICE] backend/symbol.c 1032
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Feb 16 03:03:16 PST 2016
https://issues.dlang.org/show_bug.cgi?id=15690
Issue ID: 15690
Summary: [ICE] backend/symbol.c 1032
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: aliloko at gmail.com
DMD 2.070 crash with the evil following construct:
-----------------
import std.stdio;
import std.typecons;
import std.range;
void main() {
int id = 0;
switch (id) {
static immutable myArray = iota(100).array;
foreach(i; myArray)
{
case i:
writefln("i: %d", i);
break;
}
default: ;
}
}
-----------------
http://dpaste.dzfl.pl/4acbf36da8a4
--
More information about the Digitalmars-d-bugs
mailing list