Mercurial > projects > dstress
view run/template_class_03.d @ 1330:f3f715978184
Georg Wrede <georg@iki.fi>
2007-01-07
mail:45A120F5.1050108@iki.fi
author | thomask |
---|---|
date | Sat, 13 Jan 2007 10:33:49 +0000 |
parents | af07ff921d82 |
children | 52c9e86b6486 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Roel Mathys <roel.mathys@yucom.be> // @date@ 2004-05-21 // @uri@ news:c8ljro$q9h$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/250 module dstress.run.template_class_03; class MyClass(T1){ alias T1 type1; } class MyClass(T1, T2){ alias T1 type1; alias .MyClass!(T2) type2; } int main(){ alias MyClass!(int,long) CT; CT c = new CT(); return 0; }