view test/structs6.d @ 30:881158a93592 trunk

[svn r34] * Fixed passing a struct literal as function argument
author lindquist
date Thu, 04 Oct 2007 14:15:54 +0200
parents
children
line wrap: on
line source

module structs6;

struct S
{
    float f;
}

void func(S s)
{
}

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