www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2047] New: D compiler internal assertion failure

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

           Summary: D compiler internal assertion failure
           Product: D
           Version: 2.013
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: 2korden gmail.com


The following code fails to compile due to internal compiler assertion failure:

File crash.d:
module crash;

extern (Windows) {
        int    func(PRPC_RUNDOWN);
        alias void function(void*) PRPC_RUNDOWN;
}


-- 
Apr 27 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2047






Reordering the two lines inside extern declaration block resolves issue.


-- 
Apr 27 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2047


braddr puremagic.com changed:

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







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


-- 
Apr 27 2008