http://d.puremagic.com/issues/show_bug.cgi?id=9068
Summary: ICE when trying to break outer loop from inside switch
statement
Product: D
Version: D2
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2012-11-23 16:09:18 PST ---
import std.range;
import std.stdio;
void main() {
X: foreach (l; stdin.byLine()) {
switch(l.front) {
case 'q':
break X;
default:
}
}
}
With latest git dmd:
Internal error: s2ir.c 731
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------