view tests/mini/nested14.d @ 1579:819b4f961711

fix newline warning
author Moritz Warning <moritzwarning@web.de>
date Wed, 09 Sep 2009 02:03:24 +0200
parents 30ef3c7bddca
children
line wrap: on
line source

module mini.nested14;

extern(C) int printf(char*, ...);

class C
{
  void foo()
  {
    void bar()
    {
       car();
    }

    bar();
  }

  void car()
  {
    printf("great\n");
  }
}

void main()
{
  scope c = new C;
  c.foo();
}