annotate compile/o/opEquals_07_A.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 |
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
|
|
8 // @desc@ [Issue 1027] CTFE doesn't support (string == string)
|
|
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 }
|