view test/nested4.d @ 327:781af50846b2 trunk

[svn r348] Switch on class invariants (except in release mode). Generate correct member for classInvariant in classinfo struct.
author ChristianK
date Thu, 10 Jul 2008 22:00:27 +0200
parents b706170e24a9
children
line wrap: on
line source

module nested4;

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

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