www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2583] New: Segfault on invalid foreach argument

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2583

           Summary: Segfault on invalid foreach argument
           Product: D
           Version: 2.023
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: samukha voliacable.com


void main()
{
    int c;
    foreach(e; c)
        foo(e);
}


-- 
Jan 12 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2583


matti.niemenmaa+dbugzilla iki.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Comment #1 from matti.niemenmaa+dbugzilla iki.fi  2009-01-13 10:16
-------


*** This bug has been marked as a duplicate of 2577 ***


-- 
Jan 13 2009