view run/i/in_out_body_09_E.d @ 680:7242b6a90eb2

Thomas Kuehne <thomas-dloop@kuehne.cn> 2005-09-22 news:dguji0$1e1i$4@digitaldaemon.com
author thomask
date Thu, 22 Sep 2005 15:44:32 +0000
parents
children 1e6afb94ce6d
line wrap: on
line source

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

// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
// @date@	2005-09-22
// @uri@	news:dguji0$1e1i$4@digitaldaemon.com

module dstess.run.i.in_out_body_09_E;

alias int intX;

intX test(intX i)
body {
	return i + 1;
}

int main(){
	assert(test(1)==2);
	return 0;
}