Mercurial > projects > dstress
annotate compile/o/opEquals_07_A.d @ 1430:9b98cf124406
fixed @desc@ data
author | thomask |
---|---|
date | Mon, 12 Mar 2007 06:20:35 +0000 |
parents | b1d7b8a8c466 |
children |
rev | line source |
---|---|
1401 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Reiner Pope <reiner.pope@gmail.com> | |
6 // @date@ 2007-03-03 | |
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1017 | |
1430 | 8 // @desc@ [Issue 1017] CTFE doesn't support (string == string) |
1401 | 9 |
10 module dstress.compile.o.opEquals_07_A; | |
11 | |
12 static assert(equals("alphabet", "alphabet")); | |
13 | |
14 bool equals(char[] a, char[] b){ | |
15 return (a == b); | |
16 } |