view nocompile/s/static_08_C.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 9f63eb8157cd
children
line wrap: on
line source

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

// @author@	downs <default_357-line@yahoo.de>
// @date@	200d-03-11
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1051
// @desc@	[Issue 1051] foreach over member array in static func causes ICE

// __DSTRESS_ELINE__ 18

module dstress.nocompile.s.static_08_C;

struct C {
	int[] i;

	static void crash() {
		int y = i[0];
	}
}