view run/alias_07.d @ 1536:89775df1607d

vtable can't be used as a template parameter
author thomask
date Mon, 07 May 2007 05:20:25 +0000
parents 6e4063f99377
children ec5e144583ea
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	Ilya Zaitseff <sark7@mail333.com>
// @date@	2004-09-06
// @uri@	news:opsdvofhixaaezs2@ilya.tec.amursk.ru
// @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=1795

module dstress.run.alias_07;

alias int MyInt;

int main(){
	MyInt test(char[] c=""){
		return 2;
	}
	assert(test("abc")==2);
	return 0;
}