Mercurial > projects > dstress
view run/o/opIn_01_A.d @ 1535:20d8ee6523e1
updated to DMD-1.013
author | thomask |
---|---|
date | Mon, 07 May 2007 05:19:57 +0000 |
parents | 902d2c168029 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.o.opIn_01_A; struct S{ int x; int opIn(int i){ return i + x; } } int main(){ S s; s.x = 3; if((s in 5) != 8){ assert(0); } return 0; }