Mercurial > projects > ldc
view tests/mini/nocompile_initoverlap1.d @ 1637:a6a839bcc18a
Change template linkage from weak_odr to linkonce_odr. Much better, fixes #363.
author | Matti Niemenmaa <matti.niemenmaa+hg@iki.fi> |
---|---|
date | Mon, 08 Mar 2010 19:05:12 +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; }