view compile/o/opEquals_07_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 9b98cf124406
children
line wrap: on
line source

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

// @author@	Reiner Pope <reiner.pope@gmail.com>
// @date@	2007-03-03
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1017
// @desc@	[Issue 1017] CTFE doesn't support (string == string)

module dstress.compile.o.opEquals_07_C;

static assert(!equals("alphabet", "alphabet"));

bool equals(char[] a, char[] b){
	return (a != b);
}