Mercurial > projects > dstress
view run/b/bug_toobj_191_F.d @ 769:ce5513bd43f0
minor dmd-0.141 review
author | thomask |
---|---|
date | Fri, 09 Dec 2005 22:40:57 +0000 |
parents | c0ba153df32f |
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_F; struct Outer(T){ Inner i; struct Inner{ T t; } } int main(){ Outer!(int)* o=new Outer!(int); assert(typeid(typeof(o.i.t))==typeid(int)); return 0; }