view test/structs6.d @ 104:4d1e9eb001e0 trunk

[svn r108] Now basic suppport for complex types. =,+,-,*,/ are supported.
author lindquist
date Mon, 19 Nov 2007 02:58:58 +0100
parents 881158a93592
children
line wrap: on
line source

module structs6;

struct S
{
    float f;
}

void func(S s)
{
}

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