Source

gdc / gdc.test / fail_compilation / fail121.d

Full commit
// REQUIRED_ARGS: -d
// segfault on DMD0.150, never failed if use typeid() instead.

struct myobject
{
    TypeInfo objecttype; 
    void * offset;
}

myobject[] list;

void foo()
{
    int i;

    list[1].typeinfo = i.typeinfo;
}