1. Vincenzo Ampolo
  2. gdc

Source

gdc / gdc.test / fail_compilation / fail348.d

// Error: pure function 'h' cannot call impure function 'g'

void f() pure
{   void g()
    {
     void h() pure
     {
	void i() { }
	void j() { i(); g(); }
     }
    }
}