changeset 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 176afd3d6d8e
children 4e11e483dbb6
files compile/o/opEquals_07_A.d compile/o/opEquals_07_B.d compile/o/opEquals_07_C.d compile/o/opEquals_07_D.d compile/o/opEquals_07_E.d compile/o/opEquals_07_F.d reporter.txt
diffstat 7 files changed, 101 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/o/opEquals_07_A.d	Thu Mar 08 16:26:21 2007 +0000
@@ -0,0 +1,16 @@
+// $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_A;
+
+static assert(equals("alphabet", "alphabet"));
+
+bool equals(char[] a, char[] b){
+	return (a == b);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/o/opEquals_07_B.d	Thu Mar 08 16:26:21 2007 +0000
@@ -0,0 +1,16 @@
+// $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_B;
+
+static assert(!equals("Alphabet", "alphabet"));
+
+bool equals(char[] a, char[] b){
+	return (a == b);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/o/opEquals_07_C.d	Thu Mar 08 16:26:21 2007 +0000
@@ -0,0 +1,16 @@
+// $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_C;
+
+static assert(!equals("alphabet", "alphabet"));
+
+bool equals(char[] a, char[] b){
+	return (a != b);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/o/opEquals_07_D.d	Thu Mar 08 16:26:21 2007 +0000
@@ -0,0 +1,16 @@
+// $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);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/o/opEquals_07_E.d	Thu Mar 08 16:26:21 2007 +0000
@@ -0,0 +1,17 @@
+// $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_E;
+
+bool equals(char[] a, char[] b){
+	return (a == b);
+}
+
+static assert(equals("alphabet", "alphabet"));
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/o/opEquals_07_F.d	Thu Mar 08 16:26:21 2007 +0000
@@ -0,0 +1,19 @@
+// $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_F;
+
+bool equals(char[] a, char[] b){
+	return (a == b);
+}
+
+void foo(){
+	static assert(equals("alphabet", "alphabet"));
+}
+
--- a/reporter.txt	Thu Mar 08 16:25:57 2007 +0000
+++ b/reporter.txt	Thu Mar 08 16:26:21 2007 +0000
@@ -124,6 +124,7 @@
 Paul Runde		<prunde@consolidated.net>
 Peter C. Chapin		<pchapin@ecet.vtc.edu>
 Regan Heath		<regan@netwin.co.nz>
+Reiner Pope		<reiner.pope@gmail.com>
 Rev
 Robert Atkinson		<Robert.Atkinson@gmail.com>
 Robert Schiele		<rschiele@uni-mannheim.de>