Mercurial > projects > ldc
view tests/mini/phobos/bug79.d @ 670:4f004553de33
Fixed dynamic array -> boolean. does (arr.ptr !is null) now instead of (arr.length != 0)
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 08 Oct 2008 22:38:52 +0200 |
parents | fc098100ecc7 |
children |
line wrap: on
line source
module bug79; import std.c.linux.linux; void main() { timespec ts; ts.tv_nsec -= 1; //auto t = ts.tv_nsec - 1; //t -= 1; }