Mercurial > projects > dstress
view addon/constructor_06_A.d @ 1622:d402aa53926c
Add test for bug 3092 written by Manuel K?nig
author | Leandro Lucarella <llucax@gmail.com> |
---|---|
date | Tue, 19 Oct 2010 19:18:23 -0300 |
parents | cb22f2d42678 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Sean Kelly <sean@f4.ca> // @date@ 2004-11-11 // @uri@ news:cn0g3t$o2i$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2249 // see dstress.run.constructor_06 // see also dstress.addon.constructor_04_A module addon.constructor_06_A; class Base{ this(){ } } class Derived : Base{ private: public: // contrary to dstress.addon.constructor_04_A // the constructor will be generated here, thus it's public }