Mercurial > projects > dstress
view compile/t/template_41_A.d @ 1320:daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:59:08 +0000 |
parents | daa894e9fb12 |
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);