view tests/mini/nocompile_initoverlap1.d @ 1640:9bf06e02070b

Merge DMD 1.057.
author Christian Kamm <kamm incasoftware de>
date Mon, 08 Mar 2010 21:39:20 +0100
parents 747fdd9245d7
children
line wrap: on
line source

struct Vector {
        union { float x; float y; }
        const static Vector zero = { x : 0, y : 0 };
}

struct HBoxLayout {
        Vector padding  = Vector.zero;
}