view norun/d/debug_info_08_B.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents 30ad3655b9b0
children
line wrap: on
line source

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

// @author@	Thomas Kühne <thomas-dloop@kuehne.THISISSPAM.cn>
// @date@	2005-08-01
// @uri@	news:dcl3e6$2hjr$1@digitaldaemon.com

// __DSTRESS_TORTURE_REQUIRE__ -g
// __GDB_SCRIPT__ run\nbacktrace
// __GDB_PATTERN__ SIGFPE.*debug_info_08_B[.]d:21

module dstress.norun.d.debug_info_08_B;
 
void dummy(int i){
} 

int main(){
	int a=2;
	dummy(a);
	a=a/(a-2); /* divide by zero */
	dummy(a);
	return 0;
}