Mercurial > projects > dstress
view run/b/bug_toobj_191_F.d @ 1531:640c34dfc7a5
updated to DMD-1.013
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:35:09 +0000 |
parents | ce5513bd43f0 |
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; }