changeset 258:8cff0c780abb

added UTF8 tests
author thomask
date Tue, 01 Feb 2005 14:15:36 +0000
parents 1c790407bfd8
children 55f5fa58d38e
files nocompile/invalid_utf_01.d nocompile/invalid_utf_02.d nocompile/invalid_utf_03.d nocompile/invalid_utf_04.d nocompile/invalid_utf_05.d nocompile/invalid_utf_06.d nocompile/invalid_utf_07.d nocompile/invalid_utf_08.d nocompile/invalid_utf_09.d nocompile/invalid_utf_10.d nocompile/invalid_utf_11.d nocompile/invalid_utf_12.d nocompile/invalid_utf_13.d nocompile/invalid_utf_14.d nocompile/invalid_utf_15.d nocompile/invalid_utf_16.d nocompile/invalid_utf_17.d nocompile/invalid_utf_18.d nocompile/invalid_utf_19.d nocompile/invalid_utf_20.d nocompile/invalid_utf_21.d nocompile/invalid_utf_22.d nocompile/invalid_utf_23.d nocompile/invalid_utf_24.d nocompile/invalid_utf_25.d nocompile/invalid_utf_26.d nocompile/invalid_utf_27.d nocompile/invalid_utf_28.d nocompile/invalid_utf_29.d nocompile/invalid_utf_30.d nocompile/invalid_utf_31.d nocompile/invalid_utf_32.d nocompile/invalid_utf_33.d nocompile/invalid_utf_34.d nocompile/invalid_utf_35.d nocompile/invalid_utf_36.d nocompile/invalid_utf_37.d nocompile/invalid_utf_38.d nocompile/invalid_utf_39.d nocompile/invalid_utf_40.d nocompile/invalid_utf_41.d nocompile/invalid_utf_42.d nocompile/invalid_utf_43.d
diffstat 43 files changed, 344 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_01.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_01;
+
+char[] x="";
+// First continuation byte 0x80
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_02.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_02;
+
+//
+// First continuation byte 0x80
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_03.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_03;
+
+/**/
+// First continuation byte 0x80
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_04.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_04;
+
+/++/
+// First continuation byte 0x80
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_05.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_05;
+
+char[] x = "";
+// Last  continuation byte 0xbf: 
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_06.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_06;
+
+//
+// Last  continuation byte 0xbf: 
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_07.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_07;
+
+/**/
+// Last  continuation byte 0xbf: 
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_08.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_08;
+
+/++/
+// Last  continuation byte 0xbf: 
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_09.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_09;
+
+char[] x=" ";
+// unfinished sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_10.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_10;
+
+// 
+// unfinished sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_11.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_11;
+
+/* */
+// unfinished sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_12.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_12;
+
+/+ +/
+// unfinished sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_13.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_13;
+
+char[] x="";
+// impossible byte value 0xFE
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_14.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_14;
+
+//
+// impossible byte value 0xFE
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_15.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_15;
+
+/**/
+// impossible byte value 0xFE
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_16.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_16;
+
+/++/
+// impossible byte value 0xFE
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_17.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_17;
+
+/++/
+// impossible byte value 0xFF
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_18.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_18;
+
+/**/
+// impossible byte value 0xFF
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_19.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_19;
+
+//
+// impossible byte value 0xFF
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_20.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_20;
+
+char[] x = "";
+// impossible byte value 0xFF
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_21.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_21;
+
+char[] x = "";
+// overlong sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_22.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_22;
+
+//
+// overlong sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_23.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_23;
+
+/**/
+// overlong sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_24.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_24;
+
+/++/
+// overlong sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_25.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_25;
+
+char[] x="";
+// overlong sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_26.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_26;
+
+//
+// overlong sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_27.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_27;
+
+/**/
+// overlong sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_28.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_28;
+
+/++/
+// overlong sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_29.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_29;
+
+char[] x="";
+// overlong sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_30.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_30;
+
+//
+// overlong sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_31.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_31;
+
+/**/
+// overlong sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_32.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_32;
+
+/++/
+// overlong sequence
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_33.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_33;
+
+char[] x="￾";
+// illegal codepoint U+FFFE
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_34.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_34;
+
+//￾
+// illegal codepoint U+FFFE
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_35.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_35;
+
+/*￾*/
+// illegal codepoint U+FFFE
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_36.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_36;
+
+/+￾+/
+// illegal codepoint U+FFFE
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_37.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_37;
+
+/+￿+/
+// illegal codepoint U+FFFF
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_38.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_38;
+
+/*￿*/
+// illegal codepoint U+FFFF
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_39.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_39;
+
+char[] x="￿";
+// illegal codepoint U+FFFF
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_40.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_40;
+
+char[] x="";
+// UTF-16 surrogate U+D800 U+DC00
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_41.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_41;
+
+//
+// UTF-16 surrogate U+D800 U+DC00
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_42.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_42;
+
+/**/
+// UTF-16 surrogate U+D800 U+DC00
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/invalid_utf_43.d	Tue Feb 01 14:15:36 2005 +0000
@@ -0,0 +1,8 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.nocompile.invalid_utf_43;
+
+/++/
+// UTF-16 surrogate U+D800 U+DC00
\ No newline at end of file