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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 23 01:48:39 PDT 2009


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 at puremagic.com
        ReportedBy: kolos80 at 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: -------


More information about the Digitalmars-d-bugs mailing list