Mercurial > projects > dstress
view compile/t/template_41_A.d @ 1619:bebc7472a832
Fix #7.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 18:55:30 +0100 |
parents | daef239f37cf |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Bruno Medeiros <daiphoenix@lycos.com> // @date@ 2006-08-02 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=276 module dstress.compile.t.template_41_A; struct S{ template T1(){ template T2(int i) { const int T2 = i + 1; } } } alias S.T1!().T2 inc; static assert(inc!(2) == 3);