[Issue 9068] New: ICE when trying to break outer loop from inside switch statement
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 23 16:09:19 PST 2012
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: nobody at puremagic.com
ReportedBy: hsteoh at quickfur.ath.cx
--- Comment #0 from hsteoh at quickfur.ath.cx 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: -------
More information about the Digitalmars-d-bugs
mailing list