Source

gdc / gdc.test / fail_compilation / fail226.d

Full commit
struct Struct { 
        char* chptr; 
}

void main()
{
        immutable Struct iStruct;
        Struct y = iStruct;
}