Mercurial > projects > dstress
view compile/o/opEquals_07_D.d @ 1401:b1d7b8a8c466
[Issue 1027] CTFE doesn't support (string == string)
Reiner Pope <reiner.pope@gmail.com>
2007-03-03
http://d.puremagic.com/issues/show_bug.cgi?id=1017
author | thomask |
---|---|
date | Thu, 08 Mar 2007 16:26:21 +0000 |
parents | |
children | 9b98cf124406 |
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 1027] CTFE doesn't support (string == string) module dstress.compile.o.opEquals_07_D; static assert(equals("Alphabet", "alphabet")); bool equals(char[] a, char[] b){ return (a != b); }