view run/alias_03.d @ 1:3414705c41ac

removed CVS header
author thomask
date Sun, 26 Sep 2004 12:06:09 +0000
parents 3269e4627918
children f87ba6507260
line wrap: on
line source


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;
}