Mercurial > projects > dstress
view run/f/forward_reference_12_A.d @ 1472:22767ec83a24
[Issue 932] static foreach in second template instantiation uses wrong tupleof
Frits van Bommel <fvbommel@wxs.nl>
2007-02-06
http://d.puremagic.com/issues/show_bug.cgi?id=932
author | thomask |
---|---|
date | Thu, 05 Apr 2007 16:36:53 +0000 |
parents | 9dcac8d4e97f |
children | b8c0195059d9 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Stewart Gordon <smjg_1998@yahoo.com> // @date@ 2005-05-31 // @uri@ news:d7hfbd$1dtf$2@digitaldaemon.com // @desc@ nested types can't be forward referenced module dstress.run.f.forward_reference_12_A; struct Outer{ struct Inner{ int i; } } struct Test{ Outer.Inner s; } int main(){ Test t; assert(t.s.i==0); return 0; }