view run/d/debug_info_10_A.d @ 1630:d0efa3ae5522 default tip

run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author David Nadlinger <code@klickverbot.at>
date Sat, 23 Apr 2011 22:57:32 +0200
parents 9dcac8d4e97f
children
line wrap: on
line source

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

// __DSTRESS_TORTURE_REQUIRE__ -g
// __GDB_SCRIPT__ break debug_info_10_A.d:16\nrun\nprint i
// __GDB_PATTERN__ 1 = 12340011

module dstress.run.d.debug_info_10_A;

int main(char[][] args){
	int i = args.length / 1000;

	i += 12340011;

	if(i % 4){
		return 0;
	}

	assert(0);
}