view compile/o/opEquals_07_A.d @ 1625:4e908dadd51c

modulo operations with complex numbers are allowed
author Moritz Warning <moritzwarning@web.de>
date Thu, 06 Jan 2011 14:59:13 +0100
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_A;

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

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