Mercurial > projects > dstress
view run/template_03.d @ 70:5f98d4a33d49
1) review of all test cases with unexpected results (except encoding and html/xml)
2) updated todo
author | thomask |
---|---|
date | Sat, 23 Oct 2004 22:47:47 +0000 |
parents | 3414705c41ac |
children | a33ad7189d21 |
line wrap: on
line source
// @author@ Nick <Nick_member@pathlink.com> // @date@ 2004-08-05 // @uri@ news://cetp3r$1rrc$1@digitaldaemon.com // @url@ nttp://digitalmars.com/digitalmars.D.bugs:1278 module dstress.run.template_03; template Bar(Y){ void Bar(Y param){ } } template Foo(alias X){ alias Bar!(typeof(X)) Foo; } int main(){ float f = 1.2f; mixin Foo!(f); Foo(f); return 0; }