Mercurial > projects > ldc
view tests/mini/nocompile_initoverlap1.d @ 1574:72f00d740665
Fix bug #356. Our sorting function was wrong if a value was between two NULL pointers.
author | Benjamin Kramer <benny.kra@gmail.com> |
---|---|
date | Sat, 22 Aug 2009 11:45:20 +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; }