Mercurial > projects > dstress
view run/b/bug_toobj_191_C.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 | 03b5056496f1 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Ant^2i <Ant^2i_member@pathlink.com> // @date@ 2005-07-04 // @uri@ news:dabjsi$16h8$1@digitaldaemon.com // @desc@ toobj.c:191: virtual void ClassDeclaration::toObjFile(): Assertion `!scope' failed module dstress.run.b.bug_toobj_191_C; class Class(T){ Struct s; struct Struct{ T t; } } int main(){ Class!(int) o=new Class!(int); assert(typeid(typeof(o.s.t)) == typeid(int)); return 0; }