Mercurial > projects > dstress
view run/opPos_01.d @ 1330:f3f715978184
Georg Wrede <georg@iki.fi>
2007-01-07
mail:45A120F5.1050108@iki.fi
author | thomask |
---|---|
date | Sat, 13 Jan 2007 10:33:49 +0000 |
parents | 0e1a3785ec97 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.opPos_01; class MyClass{ int status; void opPos(){ status++; } } int main(){ MyClass c = new MyClass(); assert(c.status==0); +c; assert(c.status==1); return 0; }