view test/bug19.d @ 60:66a6841bbe43 trunk

[svn r64] ...
author lindquist
date Thu, 25 Oct 2007 09:16:05 +0200
parents e5c4bece7fa1
children
line wrap: on
line source

module bug19;

void main()
{
    auto dg = (int i) { return i*2; };
    assert(dg(2) == 4);
}