[Issue 3005] New: ill-defined for statement

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 17 15:02:25 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3005

           Summary: ill-defined for statement
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: andrei at metalanguage.com


This compiles and runs:

void main() {
    int x = 2;
    for (while (false) x = 2; x != 2; ) {}
}

along with some other similarly odd constructs.

-- 
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