template x extends y
{
  i;
  j = 1;
  void x()
  {
  }
}
