view tests/mini/structs7.d @ 707:1556a9328ba1

Fixed bug with generated functions having wrong calling conventions. Thanks downs.
author Christian Kamm <kamm incasoftware de>
date Wed, 15 Oct 2008 20:22:18 +0200
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;
}