[Issue 13831] New: DMD crash

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Dec 7 15:38:48 PST 2014


https://issues.dlang.org/show_bug.cgi?id=13831

          Issue ID: 13831
           Summary: DMD crash
           Product: D
           Version: D2
          Hardware: x86_64
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: mrsmith33 at yandex.ru

Crashes both on windows and linux, both m32 and m64.

Tested with 2.066, 2.066.1, master

---
struct Vector()
{
}

struct ChunkCoord
{
    union
    {
        struct
        {
            short x;
        }
        Vector!() vector;
    }
}

struct Chunk
{
    this(ChunkCoord)
    {
        coord = coord;
    }

    ChunkCoord coord;

    static Chunk* unknownChunk = new Chunk(ChunkCoord());
}
---

--


More information about the Digitalmars-d-bugs mailing list