view run/a/assert_18_F.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 bcdd3165128d
children
line wrap: on
line source

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

// @author@	Matti Niemenmaa <deewiant@gmail.com>
// @date@	2006-12-30
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=778
// @desc@	[Issue 778] -inline: Assertion failure: '!v->csym' on line 450 in file 'glue.c'

module dstress.run.a.assert_18_F;

void foo(char[] bar){
	assert(true, bar ~ "some");
}

void main(char[][] args){
	foo("other");
}