changeset 1134:49aa2ca2f716

[Issue 221] New: Inconsistent name mangling of bool (a relic of 'bit') Don Clugston <clugdbug@yahoo.com.au> 2006-06-23 news:bug-221-3@http.d.puremagic.com/issues/
author thomask
date Thu, 14 Sep 2006 07:15:31 +0000
parents 5ba2e63f2482
children 2b58889c7d7e
files compile/b/bool_07_A.d compile/b/bool_07_B.d compile/b/bool_07_C.d
diffstat 3 files changed, 39 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/b/bool_07_A.d	Thu Sep 14 07:15:31 2006 +0000
@@ -0,0 +1,13 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <clugdbug@yahoo.com.au>
+// @date@	2006-06-23
+// @uri@	news:bug-221-3@http.d.puremagic.com/issues/
+// @desc@	[Issue 221] New: Inconsistent name mangling of bool (a relic of 'bit')
+
+module dstress.compile.b.bool_07_A;
+
+static assert(bool.mangleof == "b");
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/b/bool_07_B.d	Thu Sep 14 07:15:31 2006 +0000
@@ -0,0 +1,13 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <clugdbug@yahoo.com.au>
+// @date@	2006-06-23
+// @uri@	news:bug-221-3@http.d.puremagic.com/issues/
+// @desc@	[Issue 221] New: Inconsistent name mangling of bool (a relic of 'bit')
+
+module dstress.compile.b.bool_07_B;
+
+static assert((void function(bool)).mangleof == "PFbZv");
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/b/bool_07_C.d	Thu Sep 14 07:15:31 2006 +0000
@@ -0,0 +1,13 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <clugdbug@yahoo.com.au>
+// @date@	2006-06-23
+// @uri@	news:bug-221-3@http.d.puremagic.com/issues/
+// @desc@	[Issue 221] New: Inconsistent name mangling of bool (a relic of 'bit')
+
+module dstress.compile.b.bool_07_C;
+
+static assert((void delegate(bool)).mangleof == "DFbZv");
+