view test/bug43.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 2332006e1fa4
children
line wrap: on
line source

module bug43;

struct S
{
    ubyte[3] vals;
}

void func(ubyte[3] v)
{
}

void main()
{
    S s;
    func(s.vals);
}