view test/bug19.d @ 76:9e1bd80a7e98 trunk

[svn r80] Fixed union literals
author lindquist
date Wed, 31 Oct 2007 07:24:02 +0100
parents e5c4bece7fa1
children
line wrap: on
line source

module bug19;

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