Mercurial > projects > dstress
view compile/t/template_41_H.d @ 1096:daa894e9fb12
[Issue 276] Compiler erroneously thinks an aggregate inner template will add a field to it
Bruno Medeiros <daiphoenix@lycos.com>
2006-08-02
news:bug-276-3@http.d.puremagic.com/issues/
author | thomask |
---|---|
date | Mon, 14 Aug 2006 11:37:28 +0000 |
parents | |
children | daef239f37cf |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Bruno Medeiros <daiphoenix@lycos.com> // @date@ 2006-08-02 // @uri@ news:bug-276-3@http.d.puremagic.com/issues/ module dstress.compile.t.template_41_D; template T1(){ template T2() { template T3(){ const int T3 = 3; } } } alias T1!().T2!().T3 x; static assert(x!() == 3);