view tests/mini/nocompile_initoverlap1.d @ 1553:f55ca8a1598c

Value::getNameStart and Value::getNameLength were removed
author Benjamin Kramer <benny.kra@gmail.com>
date Thu, 23 Jul 2009 20:34:35 +0200
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;
}