view nocompile/r/return_11_E.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 4e9fdbb1bece
children
line wrap: on
line source

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

// @author@	<s.d.hammett@googlemail.com>
// @date@	2007-10-07
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1593
// @desc@	[Issue 1593] ICE compiler crash empty return statement in function

// __DSTRESS_ELINE__ 17

module dstress.nocompile.r.return_11_E;

alias int S;

S foo() {
	return;
}

static const S s = foo();