changeset 815:871bfc0d4a41

Thomas Kuehne <thomas-dloop@kuehne.cn> 2006-02-11 news:d9fvb3-i69.ln1@birke.kuehne.cn
author thomask
date Fri, 10 Feb 2006 21:09:29 +0000
parents 0be84fe21292
children e100fe474224
files run/c/char_08_A.d run/c/char_08_B.d run/c/char_08_C.d run/c/char_08_D.d run/c/char_08_E.d run/c/char_08_F.d run/c/char_08_G.d run/c/char_08_H.d run/w/wchar_12_A.d run/w/wchar_12_B.d run/w/wchar_12_C.d run/w/wchar_12_D.d run/w/wchar_12_E.d run/w/wchar_12_F.d run/w/wchar_12_G.d run/w/wchar_12_H.d
diffstat 16 files changed, 256 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/c/char_08_A.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.c.char_08_A;
+
+int main(){
+	const char[] x = "abcde";
+
+	static assert(x.sizeof == size_t.sizeof * 2);
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/c/char_08_B.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.c.char_08_B;
+
+int main(){
+	const char[] x = "abcde";
+
+	if(x.sizeof == size_t.sizeof * 2){
+		return 0;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/c/char_08_C.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.c.char_08_C;
+
+int main(){
+	const char[] x = "\u0081bcde";
+
+	if(x.sizeof == size_t.sizeof * 2){
+		return 0;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/c/char_08_D.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.c.char_08_D;
+
+int main(){
+	const char[] x = "\u0081bcde";
+
+	static assert(x.sizeof == size_t.sizeof * 2);
+	
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/c/char_08_E.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.c.char_08_E;
+
+int main(){
+	static assert("abcde"c.sizeof == 5);
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/c/char_08_F.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.c.char_08_F;
+
+int main(){
+	if("abcde"c.sizeof == 5){
+		return 0;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/c/char_08_G.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.c.char_08_G;
+
+int main(){
+	if("\u0081bcde"c.sizeof == 6){
+		return 0;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/c/char_08_H.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.c.char_08_H;
+
+int main(){
+	static assert("\u0081bcde"c.sizeof == 6);
+	
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/w/wchar_12_A.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.w.wchar_12_A;
+
+int main(){
+	const wchar[] x = "abcde";
+
+	static assert(x.sizeof == size_t.sizeof * 2);
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/w/wchar_12_B.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.w.wchar_12_B;
+
+int main(){
+	const wchar[] x = "abcde";
+
+	if(x.sizeof == size_t.sizeof * 2){
+		return 0;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/w/wchar_12_C.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.w.wchar_12_C;
+
+int main(){
+	const wchar[] x = "\U00010000bcde";
+
+	if(x.sizeof == size_t.sizeof * 2){
+		return 0;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/w/wchar_12_D.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.w.wchar_12_D;
+
+int main(){
+	const wchar[] x = "\U00010000bcde";
+
+	static assert(x.sizeof == size_t.sizeof * 2);
+	
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/w/wchar_12_E.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.w.wchar_12_E;
+
+int main(){
+	static assert("abcde"w.sizeof == 10);
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/w/wchar_12_F.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.w.wchar_12_F;
+
+int main(){
+	if("abcde"w.sizeof == 10){
+		return 0;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/w/wchar_12_G.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.w.wchar_12_G;
+
+int main(){
+	if("\U00010000bcde"w.sizeof == 12){
+		return 0;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/w/wchar_12_H.d	Fri Feb 10 21:09:29 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2006-02-11
+// @uri@	news:d9fvb3-i69.ln1@birke.kuehne.cn
+
+module dstress.run.w.wchar_12_H;
+
+int main(){
+	static assert("\U00010000bcde"w.sizeof == 12);
+	
+	return 0;
+}