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: [email protected]
Reporter: [email protected]
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());
}
---
--