changeset 477:d19c1d77943d

wchar/dchar.dup ...
author thomask
date Sun, 24 Apr 2005 16:53:17 +0000
parents ada646149a3b
children 78025fa64bdf
files run/dup_06.d run/dup_07.d
diffstat 2 files changed, 0 insertions(+), 36 deletions(-) [+]
line wrap: on
line diff
--- a/run/dup_06.d	Sun Apr 24 07:32:57 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
-// @date@	2005-04-23
-// @uri@	news:ibopj2-3qi.ln1@lnews.kuehne.cn
-
-module dstress.run.dup_06;
-
-int main(){
-	wchar[] a= "abc".dup;
-	wchar[] b=a.dup;
-	assert(a=="abc");
-	assert(a==b);
-	assert(a.ptr!=b.ptr);
-	return 0;
-}
--- a/run/dup_07.d	Sun Apr 24 07:32:57 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
-// @date@	2005-04-23
-// @uri@	news:ibopj2-3qi.ln1@lnews.kuehne.cn
-
-module dstress.run.dup_06;
-
-int main(){
-	dchar[] a= "abc".dup;
-	dchar[] b= a.dup;
-	assert(a=="abc");
-	assert(a==b);
-	assert(a.ptr!=b.ptr);
-	return 0;
-}