view compile/a/array_initialization_33_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 a3141f24cfac
children
line wrap: on
line source

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

// @author@	david <davidl@126.com>
// @date@	2007-03-20
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1072
// @desc@	[Issue 1072] this code should run as the same as previous bug code , but dmd av here

module dstress.compile.a.array_initialization_33_A;

char[] hello(){
	char[] result="";
	for(;;){
		result ~= `abc`;
	}
	return result;
}

static assert("" == hello());