Mercurial > projects > dstress
view run/bug_20050418_03.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 | b8c0195059d9 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Kris <fu@bar.com> // @date@ 2005-04-18 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3684 module dstress.run.bug_20050418_03; class Buffer{ uint limit; int position; } class Mapped : Buffer{ this(){ } ~this(){ } } int main(){ Buffer a = new Buffer(); Mapped b = new Mapped(); Buffer c = new Mapped(); assert(a); assert(b); assert(c); return 0; }