Mercurial > projects > dstress
view run/n/nested_class_02_E.d @ 1597:8b9d4d2f925a
Fix typos in complex tests. See D bug 614.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 16:53:58 +0200 |
parents | 9dcac8d4e97f |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.n.nested_class_02_E; void func(){ static int m; static class Inner{ int test(){ return m; } } Inner inner = new Inner(); assert(inner.test()==m); } int main(){ func(); return 0; }