Summary: Zero-length static array .ptr is always null
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Vladimir Panteleev <> 2011-12-28 
03:26:59 PST ---
void main()
    struct S
        ubyte[0] arr;

    S s;
    assert(s.arr.ptr !is null);

s.arr.ptr should be the same as &s.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to