Mercurial > projects > ldc
view tests/mini/phobos/bug79.d @ 1419:a6dfd3cb5b99 0.9.1
Error instead of assert on delegate literals as constant expressions.
Make function literal linkage internal inside functions and external otherwise.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Wed, 27 May 2009 19:20:18 +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; }