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

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

module structs6;

struct S
{
    float f;
}

void func(S s)
{
}

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