www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3203] New: ICE in ztc\cod4.c(354) when returning a constant structure

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

           Summary: ICE in ztc\cod4.c(354) when returning a constant
                    structure
           Product: D
           Version: 2.031
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: kolos80 bk.ru


struct Example
{
  byte[3] x;
}

Example e;

// use of *const* or *invariant* causes an error
// when size of Example.x is greater, than 2
const(Example) example() { return e; }

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 23 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3203


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |clugdbug yahoo.com.au
         Resolution|                            |DUPLICATE







*** This issue has been marked as a duplicate of issue 2665 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 19 2009