Source

gdc / gdc.test / fail_compilation / fail73.d

Full commit
// segfault DMD 0.120
// http://www.digitalmars.com/d/archives/digitalmars/D/bugs/4634.html

void main()
{
    int u=2;

    switch(u)
    {
	case 1:
	    void j()
	    {
		case 2:
		    u++;
	    }
	break;
    default:
    break;
    }
}