view test/nested4.d @ 158:287540c5f05e trunk

[svn r174] added file missing from previous commit [173]
author ChristianK
date Thu, 01 May 2008 13:33:02 +0200
parents b706170e24a9
children
line wrap: on
line source

module nested4;

void func(void delegate() dg) {
  auto v = (){
    dg();
  };
}

void main()
{
    func({});
}