On 12/16/2015 01:26 AM, Saurabh Das wrote:
struct xlref
{
     ushort rwFirst;
     ushort rwLast;
     ubyte colFirst;
     ubyte colLast;
}

struct xlmref
{
     ushort count;
     xlref reflist;
}

Mac OS X (dmd 2.069.0)
===================
dmd  dprob.d
Segmentation fault: 11

Compiler bug. Please report at

  https://issues.dlang.org/

Changing the order of the members of xlmref seems to be a workaround:

struct xlmref
{
    xlref reflist;
    ushort count;
}

Ali


Reply via email to