Mercurial > projects > dstress
view run/static_30.d @ 315:6cb8ecb39d27
static{ this() }
Lukas Pinkowski <Lukas.Pinkowski@web.de>
2005-03-08
news:d0isvn$pb6$1@digitaldaemon.com
author | thomask |
---|---|
date | Wed, 16 Mar 2005 16:51:29 +0000 |
parents | |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Lukas Pinkowski <Lukas.Pinkowski@web.de> // @date@ 2005-03-08 // @uri@ news:d0isvn$pb6$1@digitaldaemon.com module dstress.run.static_30; int status; class MyClass{ static{ this(){ status=5; } } } int main(){ assert(status==5); return 0; }