Mercurial > projects > dstress
view run/s/super_14_A.d @ 1215:106179f3142f
[Issue 446] New: Anonymous class and "return without calling constructor"
Frank Benoit <benoit@tionex.de>
2006-10-23
news:bug-446-3@http.d.puremagic.com/issues/
author | thomask |
---|---|
date | Wed, 08 Nov 2006 15:24:28 +0000 |
parents | |
children | daef239f37cf |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Frank Benoit <benoit@tionex.de> // @date@ 2006-10-23 // @uri@ news:bug-446-3@http.d.puremagic.com/issues/ // @desc@ [Issue 446] New: Anonymous class and "return without calling constructor" module dstress.run.s.super_14_A; class Base { this(){ } } int main(char[][] args){ if(args.length != 13){ Base b = new class() Base { this(){ super(); } }; } return 0; }