view tests/mini/structs7.d @ 738:ecb429ee0648

Add explicit uint->char cast to get rid of warning.
author Christian Kamm <kamm incasoftware de>
date Thu, 30 Oct 2008 10:15:42 +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;
}