[Issue 7392] New: ICE on invalid nested case statement
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 28 08:10:32 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7392
Summary: ICE on invalid nested case statement
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: ice-on-invalid-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: timon.gehr at gmx.ch
--- Comment #0 from timon.gehr at gmx.ch 2012-01-28 08:10:30 PST ---
The following invalid code crashes DMD 2.058head
void main(){
int x;
switch(x){
foreach(y;[1,2,3]){
case y: break;
}
default: break;
}
}
Internal error: backend/symbol.c 1032
--
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