view run/try_01.d @ 1560:36bedfa079e6

D1 -> D2 : 2/N
author thomask
date Sun, 19 Aug 2007 19:15:01 +0000
parents f87ba6507260
children
line wrap: on
line source

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

module dstress.run.try_01;

int main(){
	int check=0;
	assert(check==0);
	try{
		throw new Exception("message");
	}catch(Exception){
		check++;
	}
	assert(check==1);
	return 0;
}