view tests/mini/structs7.d @ 977:3efbe9b0dd36

Update .hgignore due to moved(?) idgen/impcnvgen locations. Also add *.patch and *.diff.
author Frits van Bommel <fvbommel wxs.nl>
date Tue, 17 Feb 2009 23:14:19 +0100
parents 44f08170f4ef
children
line wrap: on
line source

module structs7;

struct S
{
    int i;
    long l;
}

void main()
{
    S s = void;
    int i = s.i;
    long l = s.l;
}