[Issue 7576] New: disabled postblit needs to be derived from fields

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 24 13:41:16 PST 2012


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

           Summary: disabled postblit needs to be derived from fields
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dawg at dawgfoto.de


--- Comment #0 from dawg at dawgfoto.de 2012-02-24 13:41:15 PST ---
cat > bug.d << CODE
struct S
{
    NonCopyable impl;
}

struct NonCopyable
{
    @disable this(this);
}

void main()
{
    S s;
    s = S();
}
CODE

dmd bug

Linker error: undefined reference to `_D3bug11NonCopyable10__postblitMFZv'
--------

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