Mercurial > projects > dstress
view run/alias_03.d @ 0:3269e4627918
init dstress
author | svnowner |
---|---|
date | Sat, 25 Sep 2004 22:33:30 +0000 |
parents | |
children | 3414705c41ac |
line wrap: on
line source
// $Header: /home/th/Dokumente/Entwicklung/MEIN_CVS/MiniD/src/run/alias_03.d,v 1.1 2004/08/20 23:42:51 th Exp $ template Foo2(T) { alias T t; } alias Foo2!(int) t1; alias Foo2!(int).t t2; alias t1.t t3; alias t2 t4; int main(char[][] args){ t1.t v1; // v1 is type int t2 v2; // v2 is type int t3 v3; // v3 is type int return 0; }