view run/out_02.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/out_02.d,v 1.2 2004/08/23 20:38:17 th Exp $

void check(out int i){
	assert(i==0);
	i=2;
}

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