Mercurial > projects > dstress
view run/o/opIn_01_B.d @ 1619:bebc7472a832
Fix #7.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 18:55:30 +0100 |
parents | 902d2c168029 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.o.opIn_01_B; class S{ int x; int opIn(int i){ return i + x; } } int main(){ S s = new S(); s.x = 3; if((s in 5) != 8){ assert(0); } return 0; }