view test/bug18.d @ 48:4d171915a77b trunk

[svn r52] fixed static arrays in struct literals
author lindquist
date Fri, 19 Oct 2007 17:15:30 +0200
parents
children
line wrap: on
line source
module bug18;

struct S {
    int[9] i;
}

void main()
{
    int[9] i;
    auto s = S(i);
}