Mercurial > projects > dstress
view run/n/nested_class_02_B.d @ 1586:a74f0139fc3d
Fix tests using typeof on types.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 21 Aug 2008 15:42:21 +0200 |
parents | 9dcac8d4e97f |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.n.nested_class_02_B; void func(){ int m; class Inner{ void test(int i){ m=i; } } Inner inner = new Inner(); assert(m==0); inner.test(1); assert(m==1); } int main(){ func(); return 0; }