Mercurial > projects > ldc
view test/static_ctor.d @ 328:7086a84ab3d6 trunk
[svn r349] Fixed problems with static arrays of void as well as a static arrays with zero length.
Fixed issues with DMD generated assert statements when using class invariants, generally due to incomplete ASTs.
Removed some dead code.
Added a few comments.
author | lindquist |
---|---|
date | Fri, 11 Jul 2008 00:17:00 +0200 |
parents | d9d5d59873d8 |
children |
line wrap: on
line source
extern(C) int printf(char*, ...); static this() { printf("static this\n"); } static ~this() { printf("static ~this\n"); } void main() { printf("main\n"); }