view tests/mini/structs7.d @ 1525:d28cd7c45267

Removed druntime from the repository. Updated .hgignore to ignore druntime.
author Robert Clipsham <robert@octarineparrot.com>
date Mon, 06 Jul 2009 23:57:27 +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;
}