changeset 360:e38919011244

dif. fixes 3
author thomask
date Fri, 25 Mar 2005 05:22:21 +0000
parents b4e9dc55e25d
children 0147a35cbeb7
files nocompile/ExpressionStatement_01.d nocompile/ExpressionStatement_02.d nocompile/__FILE__02.d nocompile/argument_03.d nocompile/argument_04.d nocompile/argument_05.d nocompile/const_04.d nocompile/delegate_11.d nocompile/enum_06.d nocompile/escape_hex_02.d nocompile/escape_hex_string_03.d nocompile/escape_hex_string_04.d nocompile/escape_octal_02.d nocompile/evaluation_order_01.d nocompile/evaluation_order_02.d nocompile/evaluation_order_03.d nocompile/final_01.d nocompile/final_04.d nocompile/final_07.d nocompile/final_08.d nocompile/final_09.d nocompile/final_10.d nocompile/final_11.d nocompile/finally_06.d nocompile/float_14.d nocompile/float_15.d nocompile/float_16.d nocompile/float_17.d nocompile/float_18.d nocompile/float_19.d nocompile/float_20.d nocompile/float_21.d nocompile/float_litaeral_dec_04.d nocompile/float_litaeral_dec_06.d nocompile/float_litaeral_dec_07.d nocompile/float_litaeral_dec_08.d nocompile/float_litaeral_dec_09.d nocompile/float_litaeral_dec_12.d nocompile/float_litaeral_dec_13.d nocompile/float_litaeral_dec_14.d nocompile/float_litaeral_dec_15.d nocompile/float_litaeral_dec_16.d nocompile/float_litaeral_dec_17.d nocompile/foreach_14.d nocompile/foreach_17.d nocompile/foreach_18.d nocompile/foreach_19.d nocompile/foreach_20.d nocompile/foreach_21.d nocompile/foreach_22.d nocompile/goto_04.d nocompile/goto_06.d nocompile/html_empty_entity_01.html nocompile/html_empty_entity_02.html nocompile/html_empty_entity_03.html nocompile/html_entity_10.html nocompile/html_entity_11.html nocompile/scope_01.d nocompile/template_08.d run/bug_cgcs_353_D.d run/float_litaeral_dec_03.d run/float_litaeral_dec_05.d run/html_line_ending_dos.html run/html_line_ending_linux.html run/html_line_ending_mac.html run/in_out_body_03.d run/interface_10.d run/interface_11.d run/invariant_12.d run/line_ending_dos.d run/line_ending_linux.d run/line_ending_mac.d run/line_token_02.d run/named_entity_01.d run/scope_01.d run/template_08.d run/typeid_81.d
diffstat 77 files changed, 419 insertions(+), 103 deletions(-) [+]
line wrap: on
line diff
--- a/nocompile/ExpressionStatement_01.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/ExpressionStatement_01.d	Fri Mar 25 05:22:21 2005 +0000
@@ -3,6 +3,9 @@
 // $Author$
 
 //  Expressions that have no affect are illegal.
+
+// __DSTRESS_ELINE__ 12
+
 module dstress.nocompile.ExpressionStatement_01;
 
 int main(){
--- a/nocompile/ExpressionStatement_02.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/ExpressionStatement_02.d	Fri Mar 25 05:22:21 2005 +0000
@@ -3,6 +3,9 @@
 // $Author$
 
 //  Expressions that have no affect are illegal.
+
+// __DSTRESS_ELINE__ 12
+
 module dstress.nocompile.ExpressionStatement_02;
 
 int main(){
--- a/nocompile/__FILE__02.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/__FILE__02.d	Fri Mar 25 05:22:21 2005 +0000
@@ -2,6 +2,8 @@
 // $Date$
 // $Author$
 
+// __DSTRESS_ELINE__ 10
+
 module dstress.nocompile.__FILE__02;
 
 void test(){
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/argument_03.d	Fri Mar 25 05:22:21 2005 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @uri@	news:pan.2005.02.21.10.56.53.306812@yahoo.com
+// @author@	John Reimer <brk_6502@yahoo.com>
+// @date@	2005-02-21
+
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.argument_03;
+
+void test(
+	bool lala = false,
+	unsigned ubyte lala2 )
+{
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/argument_04.d	Fri Mar 25 05:22:21 2005 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @uri@	news:pan.2005.02.21.10.56.53.306812@yahoo.com
+// @author@	John Reimer <brk_6502@yahoo.com>
+// @date@	2005-02-21
+
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.argument_04;
+
+void test(
+	bool lala,
+	unsigned ubyte lala2 )
+{
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/argument_05.d	Fri Mar 25 05:22:21 2005 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @uri@	news:pan.2005.02.21.10.56.53.306812@yahoo.com
+// @author@	John Reimer <brk_6502@yahoo.com>
+// @date@	2005-02-21
+
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.argument_05;
+
+void test(
+	bool lala,
+	unsigned ubyte lala2 = 4u)
+{
+}
--- a/nocompile/const_04.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/const_04.d	Fri Mar 25 05:22:21 2005 +0000
@@ -4,7 +4,7 @@
 
 // constant loop
 
-// __DSTRESS_ELINE__ 11
+// __DSTRESS_ELINE__ 12
 
 module dstress.nocompile.const_04;
 
--- a/nocompile/delegate_11.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/delegate_11.d	Fri Mar 25 05:22:21 2005 +0000
@@ -10,7 +10,7 @@
 
 union MyUnion{
 	static int test(){
-		return b;
+		return 0;
 	}
 	byte b;
 }
--- a/nocompile/enum_06.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/enum_06.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,7 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
 // Enums must have at least one member
 
 module dstress.nocompile.enum_06;
--- a/nocompile/escape_hex_02.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/escape_hex_02.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 10
+
+module dstress.nocompile.escape_hex_02;
+
 int main(){
 	char[] string="\x9G";
 	return 0;
--- a/nocompile/escape_hex_string_03.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/escape_hex_string_03.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 10
+
+module dstress.nocompile.escape_hex_string_03;
+
 int main(){
 	char[] string=x"1G";
 	return 0;
--- a/nocompile/escape_hex_string_04.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/escape_hex_string_04.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 10
+
+module dsress.nocompile.escape_hex_string_04;
+
 int main(){
 	char[] string=x"123";
 	return 0;
--- a/nocompile/escape_octal_02.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/escape_octal_02.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,5 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
 // a zero length octal escape sequenze
 
+// __DSTRESS_ELINE__ 12
+
 module dstress.nocompile.escape_octal_02;
 
 int main(){
--- a/nocompile/evaluation_order_01.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/evaluation_order_01.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,9 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 11
+
 module dstress.nocompile.evaluation_order_01;
 
 int main(){
--- a/nocompile/evaluation_order_02.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/evaluation_order_02.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,9 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 12
+
 module dstress.nocompile.evaluation_order_02;
 
 int main(){
--- a/nocompile/evaluation_order_03.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/evaluation_order_03.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,9 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 14
+
 module dstress.nocompile.evaluation_order_03;
 
 void check( int a, int b){
--- a/nocompile/final_01.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/final_01.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.final_01;
+
 class Parent{
 	final void test(){
 	}
--- a/nocompile/final_04.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/final_04.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,5 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
 // only class member functions might be final
 
+// __DSTRESS_ELINE__ 11
+
 module dstress.nocompile.final_04;
 
 final int x;
--- a/nocompile/final_07.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/final_07.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,5 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
 // only class functions might be final
 
+// __DSTRESS_ELINE__ 11
+
 module dstress.nocompile.final_07;
 
 final struct MyStruct{
--- a/nocompile/final_08.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/final_08.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,1 +1,9 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 9
+
+module dstress.nocompile.final_08;
+
 final module MyModule;
--- a/nocompile/final_09.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/final_09.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,5 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
 // only functions might be final
 
+// __DSTRESS_ELINE__ 12
+
 module dstress.nocompile.final_09;
 
 class MyClass{
--- a/nocompile/final_10.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/final_10.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,5 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
 // only functions might have the attribute final
 
+// __DSTRESS_ELINE__ 12
+
 module dstress.nocompile.final_10;
 
 struct MyStruct{
--- a/nocompile/final_11.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/final_11.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,5 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
 // only class functions might be final (structs can't inherite)
 
+// __DSTRESS_ELINE__ 12
+
 module dstress.nocompile.final_11;
 
 struct MyStruct{
--- a/nocompile/finally_06.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/finally_06.d	Fri Mar 25 05:22:21 2005 +0000
@@ -4,7 +4,7 @@
 
 //  A FinallyStatement may not exit with a goto, break, continue, or return; nor may it be entered with a goto.
 
-// __DSTRESS_ELINE__ 14
+// __DSTRESS_ELINE__ 15
 
 module dstress.nocompile.finally_06;
 
--- a/nocompile/float_14.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_14.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,10 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 10
+
+module dstress.nocompile.float_14;
 
 int main(){
 	int i = float.size;
--- a/nocompile/float_15.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_15.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,10 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 10
+
+module dstress.nocompile.float_15;
 
 int main(){
 	int i = float.sign;
--- a/nocompile/float_16.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_16.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,10 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.float_16;
 
 int main(){
 	float f;
--- a/nocompile/float_17.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_17.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,10 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 17
+
+module dstress.nocompile.float_17;
 
 int main(){
 	float f;
--- a/nocompile/float_18.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_18.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,10 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.float_18;
 
 int main(){
 	float f;
--- a/nocompile/float_19.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_19.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,10 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.float_19;
 
 int main(){
 	float f;
--- a/nocompile/float_20.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_20.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,10 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.float_20;
 
 int main(){
 	float f;
--- a/nocompile/float_21.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_21.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,10 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.float_21;
 
 int main(){
 	float f;
--- a/nocompile/float_litaeral_dec_04.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_litaeral_dec_04.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 10
+
+module dstress.nocompile.float_literal_dec_04;
+
 int main(){
 	float f = 3.40282e+40f; // > float.max
 	return 0;
--- a/nocompile/float_litaeral_dec_06.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_litaeral_dec_06.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 10
+
+module dstress.nocompile.float_literal_dec_06;
+
 int main(){
 	float f = 3.40282e+1A;
 	return 0;
--- a/nocompile/float_litaeral_dec_07.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_litaeral_dec_07.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 10
+
+module dstress.nocompile.float_literal_dec_07;
+
 int main(){
 	float f = 3.402A2e+10;
 	return 0;
--- a/nocompile/float_litaeral_dec_08.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_litaeral_dec_08.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,4 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
 // this is illegal otherwise 0..max would be legal for 0.max
+
+// __DSTRESS_ELINE__ 12
+
 module dstress.nocompile.float_literal_dec_08;
 
 int main(){
--- a/nocompile/float_litaeral_dec_09.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_litaeral_dec_09.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,4 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
 // this is illegal otherwise 1..0 would be interpeted as 1.0
+
+// __DSTRESS_ELINE__ 12
+
 module dstress.nocompile.float_literal_dec_09;
 
 int main(){
--- a/nocompile/float_litaeral_dec_12.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_litaeral_dec_12.d	Fri Mar 25 05:22:21 2005 +0000
@@ -7,6 +7,8 @@
 // @uri@	news:opshte92rnaaezs2@localhost
 // @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2316
 
+// __DSTRESS_ELINE__ 14
+
 module dstress.nocompile.float_literal_dec_12;
 
 float a = .1.234;
--- a/nocompile/float_litaeral_dec_13.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_litaeral_dec_13.d	Fri Mar 25 05:22:21 2005 +0000
@@ -7,6 +7,8 @@
 // @uri@	news:opshte92rnaaezs2@localhost
 // @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2316
 
+// __DSTRESS_ELINE__ 14
+
 module dstress.nocompile.float_literal_dec_13;
 
 float a = ..234;
--- a/nocompile/float_litaeral_dec_14.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_litaeral_dec_14.d	Fri Mar 25 05:22:21 2005 +0000
@@ -7,6 +7,8 @@
 // @uri@	news:opshte92rnaaezs2@localhost
 // @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2316
 
+// __DSTRESS_ELINE__ 14
+
 module dstress.nocompile.float_literal_dec_14;
 
 float a = 0.234.0;
--- a/nocompile/float_litaeral_dec_15.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_litaeral_dec_15.d	Fri Mar 25 05:22:21 2005 +0000
@@ -7,6 +7,8 @@
 // @uri@	news:opshte92rnaaezs2@localhost
 // @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2316
 
+// __DSTRESS_ELINE__ 14
+
 module dstress.nocompile.float_literal_dec_15;
 
 float a = 0.234.;
--- a/nocompile/float_litaeral_dec_16.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_litaeral_dec_16.d	Fri Mar 25 05:22:21 2005 +0000
@@ -7,6 +7,8 @@
 // @uri@	news:opshte92rnaaezs2@localhost
 // @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2316
 
+// __DSTRESS_ELINE__ 14
+
 module dstress.nocompile.float_literal_dec_16;
 
 float a = .234.0;
--- a/nocompile/float_litaeral_dec_17.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/float_litaeral_dec_17.d	Fri Mar 25 05:22:21 2005 +0000
@@ -7,6 +7,8 @@
 // @uri@	news:opshte92rnaaezs2@localhost
 // @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2316
 
+// __DSTRESS_ELINE__ 14
+
 module dstress.nocompile.float_literal_dec_17;
 
 float a = 2..23;
--- a/nocompile/foreach_14.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/foreach_14.d	Fri Mar 25 05:22:21 2005 +0000
@@ -6,6 +6,10 @@
 // @date@	2004-09-22
 // @uri@	news:ciqutj$10bq$1@digitaldaemon.com
 
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.foreach_14;
+
 int main(){
 	char[] array="abc";
 	foreach(int index, char; array){
--- a/nocompile/foreach_17.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/foreach_17.d	Fri Mar 25 05:22:21 2005 +0000
@@ -4,12 +4,13 @@
 
 // only "" and "inout" are allowed as modifiers
 
+// __DSTRESS_ELINE__ 13
+
 module dstress.nocompile.foreach_17;
 
 int main(){
 	char[] string;
-	foreach(in char c; string){
-		
+	foreach(in char c; string){	
 	}
 	return 0;
 }
--- a/nocompile/foreach_18.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/foreach_18.d	Fri Mar 25 05:22:21 2005 +0000
@@ -4,12 +4,13 @@
 
 // only "" and "inout" are allowed as modifiers
 
+// __DSTRESS_ELINE__ 13
+
 module dstress.nocompile.foreach_18;
 
 int main(){
 	char[] string;
 	foreach(out char c; string){
-		
 	}
 	return 0;
 }
--- a/nocompile/foreach_19.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/foreach_19.d	Fri Mar 25 05:22:21 2005 +0000
@@ -4,12 +4,13 @@
 
 // index has to be int / uint 
 
+// __DSTRESS_ELINE__ 13
+
 module dstress.nocompile.foreach_19;
 
 int main(){
 	char[] string;
 	foreach(byte index, char c; string){
-		
 	}
 	return 0;
 }
--- a/nocompile/foreach_20.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/foreach_20.d	Fri Mar 25 05:22:21 2005 +0000
@@ -4,12 +4,13 @@
 
 // index has to be int / uint 
 
+// __DSTRESS_ELINE__ 13
+
 module dstress.nocompile.foreach_20;
 
 int main(){
 	char[] string;
 	foreach(dchar index, char c; string){
-		
 	}
 	return 0;
 }
--- a/nocompile/foreach_21.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/foreach_21.d	Fri Mar 25 05:22:21 2005 +0000
@@ -2,6 +2,8 @@
 // $Date$
 // $Author$
 
+// __DSTRESS_ELINE__ 11
+
 module dstress.nocompile.foreach_21;
 
 int main(){
--- a/nocompile/foreach_22.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/foreach_22.d	Fri Mar 25 05:22:21 2005 +0000
@@ -2,6 +2,8 @@
 // $Date$
 // $Author$
 
+// __DSTRESS_ELINE__ 11
+
 module dstress.nocompile.foreach_22;
 
 int main(){
--- a/nocompile/goto_04.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/goto_04.d	Fri Mar 25 05:22:21 2005 +0000
@@ -2,6 +2,8 @@
 // $Date$
 // $Author$
 
+// __DSTRESS_ELINE__ 13
+
 module dstress.nocompile.goto_04;
 
 int main(){
--- a/nocompile/goto_06.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/goto_06.d	Fri Mar 25 05:22:21 2005 +0000
@@ -2,6 +2,8 @@
 // $Date$
 // $Author$
 
+// __DSTRESS_ELINE__ 17
+
 module dstress.nocompile.goto_06;
 
 int main(){
--- a/nocompile/html_empty_entity_01.html	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/html_empty_entity_01.html	Fri Mar 25 05:22:21 2005 +0000
@@ -1,4 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+__DSTRESS_ELINE__ 6
+-->
 <html><head><title>dstress: html_empty_entity_01</title></head><body><pre><CODE>
 char[] array ="ab&#;";
 </CODE></pre></body></html>
--- a/nocompile/html_empty_entity_02.html	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/html_empty_entity_02.html	Fri Mar 25 05:22:21 2005 +0000
@@ -1,4 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+__DSTRESS_ELINE__ 6
+-->
 <html><head><title>dstress: html_empty_entity_02</title></head><body><pre><CODE>
 char[] array ="ab&#x;";
 </CODE></pre></body></html>
--- a/nocompile/html_empty_entity_03.html	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/html_empty_entity_03.html	Fri Mar 25 05:22:21 2005 +0000
@@ -1,4 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+__DSTRESS_ELINE__ 6
+-->
 <html><head><title>dstress: html_empty_entity_03</title></head><body><pre><CODE>
 char[] array ="ab&;";
 </CODE></pre></body></html>
--- a/nocompile/html_entity_10.html	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/html_entity_10.html	Fri Mar 25 05:22:21 2005 +0000
@@ -1,4 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+__DSTRESS_ELINE__ 7
+-->
 <html><head><title>dstress: html_entity_10</title></head><body><pre><CODE>
 int main(){
 	assert('&#xG;'==17);
--- a/nocompile/html_entity_11.html	Fri Mar 25 05:15:43 2005 +0000
+++ b/nocompile/html_entity_11.html	Fri Mar 25 05:22:21 2005 +0000
@@ -1,4 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+__DSTRESS_ELINE__ 7
+-->
 <html><head><title>dstress: html_entity_11</title></head><body><pre><CODE>
 int main(){
 	assert('&#A;'==10);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/scope_01.d	Fri Mar 25 05:22:21 2005 +0000
@@ -0,0 +1,23 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	J Anderson <REMOVEanderson@badmama.com.au>
+// @date@	2004-05-01
+// @uri@	news:c70jk9$off$1@digitaldaemon.com
+// @url@	nntp://digitalmars.com/digitalmars.D.bugs/53
+
+// __DSTRESS_ELINE__ 18
+
+module dstress.nocompile.scope_01;
+
+class MyClass{
+
+	struct MyStruct{
+		int test(){
+			return status;
+		}
+	}
+
+	int status;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/template_08.d	Fri Mar 25 05:22:21 2005 +0000
@@ -0,0 +1,26 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	tetsuya <tetsuya_member@pathlink.com>
+// @date@	2004-12-13
+// @uri@	news:cpk4vq$1m5a$1@digitaldaemon.com
+// @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2546
+
+// __DSTRESS_ELINE__ 18
+
+module dstress.nocompile.template_08;
+
+template T(){
+	A a;
+	class A {
+		this() { 
+			a = this; 
+		} 
+	}
+}
+
+int main(){
+	mixin T!();
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/bug_cgcs_353_D.d	Fri Mar 25 05:22:21 2005 +0000
@@ -0,0 +1,32 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Ben Hinkle <ben.hinkle@gmail.com>
+// @date@	2005-03-01
+// @uri@	news:d00fr5$17dc$1@digitaldaemon.com
+// @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/3068
+
+// __DSTRESS_DFLAGS__ -inline
+
+module dstress.run.bug_cgcs_353_C;
+
+struct MyStruct {
+	int opEquals(MyStruct x) {
+		return this.normalize === x.normalize;
+	}
+	
+	MyStruct normalize() {
+		return s;
+	}
+}
+
+MyStruct s;
+
+int main() {
+	MyStruct a;
+	MyStruct b;
+	assert(a==b);
+	assert(!(a===b));
+	return 0;
+}
--- a/run/float_litaeral_dec_03.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/float_litaeral_dec_03.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,9 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.run.float_litaeral_dec_03;
+
 int main(){
 	float a = 1_2_._3__________f;
 	float b = 123.0f / 10.0f;
--- a/run/float_litaeral_dec_05.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/float_litaeral_dec_05.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,3 +1,9 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.run.float_litaeral_dec_05;
+
 int main(){
 	float a = 1.2;
 	float b = 1.2f;
--- a/run/html_line_ending_dos.html	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/html_line_ending_dos.html	Fri Mar 25 05:22:21 2005 +0000
@@ -7,9 +7,6 @@
 	}catch(Exception e){
 		checkLineNumber(e);
 		return 0;
-	}catch(Error e){
-		checkLineNumber(e);
-		return 0;
 	}
 
 	assert(-1);
--- a/run/html_line_ending_linux.html	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/html_line_ending_linux.html	Fri Mar 25 05:22:21 2005 +0000
@@ -7,9 +7,6 @@
 	}catch(Exception e){
 		checkLineNumber(e);
 		return 0;
-	}catch(Error e){
-		checkLineNumber(e);
-		return 0;
 	}
 
 	assert(-1);
--- a/run/html_line_ending_mac.html	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/html_line_ending_mac.html	Fri Mar 25 05:22:21 2005 +0000
@@ -1,1 +1,1 @@
-<html>
	<head><title>dstress: html_line_ending_mac</title></head>
	<body><pre><CODE>
int main(){
	try{
		assert(0);
	}catch(Exception e){
		checkLineNumber(e);
		return 0;
	}catch(Error e){
		checkLineNumber(e);
		return 0;
	}

	assert(-1);
	return 1;
}

/*
 * @WARNING@ this code depends on the phobos implementation.
 * char[]s returned by wrong assertions have to look like:
 *	 "blah blah (linenumber) blah blah"
 */
void checkLineNumber(Object o){
	char[] string=o.toString();

	int start;
	for(start=0; start&lt;string.length; start++){if(string[start]=='('){break;}}

	int end;
	for(end=string.length-1; end&gt;start; end--){if(string[end]==')'){break;}}

	assert(end-start==2);
	assert(string[start+1]=='6');
}
	</CODE></pre></body>
</html>
\ No newline at end of file
+<html>
	<head><title>dstress: html_line_ending_mac</title></head>
	<body><pre><CODE>
int main(){
	try{
		assert(0);
	}catch(Exception e){
		checkLineNumber(e);
		return 0;

	assert(-1);
	return 1;
}

/*
 * @WARNING@ this code depends on the phobos implementation.
 * char[]s returned by wrong assertions have to look like:
 *	 "blah blah (linenumber) blah blah"
 */
void checkLineNumber(Object o){
	char[] string=o.toString();

	int start;
	for(start=0; start&lt;string.length; start++){if(string[start]=='('){break;}}

	int end;
	for(end=string.length-1; end&gt;start; end--){if(string[end]==')'){break;}}

	assert(end-start==2);
	assert(string[start+1]=='6');
}
	</CODE></pre></body>
</html>
\ No newline at end of file
--- a/run/in_out_body_03.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/in_out_body_03.d	Fri Mar 25 05:22:21 2005 +0000
@@ -9,6 +9,9 @@
 
 module dstress.run.in_out_body_03;
 
+bool in_checked;
+bool out_checked;
+
 class MyClass{
 	int i;
 }
@@ -16,9 +19,10 @@
 void outer(){
 	MyClass inner()
 	in{
-		assert(1);
+		in_checked=true;
 	}out (result){
 		assert(result.i==1);
+		out_checked=true;
 	}body{
 		MyClass s;
 		s.i = 1;
@@ -29,5 +33,7 @@
 
 int main(){
 	outer();
+	assert(in_checked);
+	assert(out_checked);
 	return 0;
 }
--- a/run/interface_10.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/interface_10.d	Fri Mar 25 05:22:21 2005 +0000
@@ -2,7 +2,7 @@
 // $Date$
 // $Author$
 
-// @author@	Miguel Ferreira Simões <Kobold@netcabo.pt>
+// @author@	Miguel Ferreira SimƵes <Kobold@netcabo.pt>
 // @date@	2004-12-23
 // @uri@	news:cqe7j0$2fl3$1@digitaldaemon.com
 // @url@	nntp://digitalmars.com/digitalmars.D/14003
--- a/run/interface_11.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/interface_11.d	Fri Mar 25 05:22:21 2005 +0000
@@ -2,7 +2,7 @@
 // $Date$
 // $Author$
 
-// @author@	Miguel Ferreira Simões <Kobold@netcabo.pt>
+// @author@	Miguel Ferreira SimƵes <Kobold@netcabo.pt>
 // @date@	2004-12-23
 // @uri@	news:cqe7j0$2fl3$1@digitaldaemon.com
 // @url@	nntp://digitalmars.com/digitalmars.D/14003
--- a/run/invariant_12.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/invariant_12.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,5 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
 module dstress.run.invariant_12.d;
 
+bool checked;
+
 class Parent{
 	int x;
 
@@ -7,8 +13,10 @@
 	}
 	
 	invariant{
+		assert(!checked);
+		checked=true;
 		// even number
-		assert(x&1==0);
+		assert((x&1u)==0);
 	}
 }
 
@@ -23,8 +31,10 @@
 
 int main(){
 	try{
+		assert(!checked);
 		GrandChild gc = new GrandChild();
 	}catch{
+		assert(checked);
 		return 0;
 	}
 	assert(0);
--- a/run/line_ending_dos.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/line_ending_dos.d	Fri Mar 25 05:22:21 2005 +0000
@@ -6,9 +6,6 @@
 	}catch(Exception e){
 		checkLineNumber(e);
 		return 0;
-	}catch(Error e){
-		checkLineNumber(e);
-		return 0;
 	}
 
 	assert(-1);
--- a/run/line_ending_linux.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/line_ending_linux.d	Fri Mar 25 05:22:21 2005 +0000
@@ -6,9 +6,6 @@
 	}catch(Exception e){
 		checkLineNumber(e);
 		return 0;
-	}catch(Error e){
-		checkLineNumber(e);
-		return 0;
 	}
 
 	assert(-1);
--- a/run/line_ending_mac.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/line_ending_mac.d	Fri Mar 25 05:22:21 2005 +0000
@@ -1,1 +1,1 @@
-// encoding: utf-8
// line ending: mac
int main(){
	try{
		assert(0);
	}catch(Exception e){
		checkLineNumber(e);
		return 0;
	}catch(Error e){
		checkLineNumber(e);
		return 0;
	}

	assert(-1);
	return 1;
}

/* 
 * @WARNING@ this code depends on the phobos implementation.
 * char[]s returned by wrong assertions have to look like:
 *	 "blah blah (linenumber) blah blah"
 */
void checkLineNumber(Object o){
	char[] string=o.toString();
	
	int start;
	for(start=0; start<string.length; start++){
		if(string[start]=='('){
			break;
		}
	}

	int end;
	for(end=string.length-1; end>start; end--){
		if(string[end]==')'){
			break;
		}
	}

	assert(end-start==2);
	assert(string[start+1]=='5');
}
\ No newline at end of file
+// encoding: utf-8
// line ending: mac
int main(){
	try{
		assert(0);
	}catch(Exception e){
		checkLineNumber(e);
		return 0;
	}

	assert(-1);
	return 1;
}

/* 
 * @WARNING@ this code depends on the phobos implementation.
 * char[]s returned by wrong assertions have to look like:
 *	 "blah blah (linenumber) blah blah"
 */
void checkLineNumber(Object o){
	char[] string=o.toString();
	
	int start;
	for(start=0; start<string.length; start++){
		if(string[start]=='('){
			break;
		}
	}

	int end;
	for(end=string.length-1; end>start; end--){
		if(string[end]==')'){
			break;
		}
	}

	assert(end-start==2);
	assert(string[start+1]=='5');
}
\ No newline at end of file
--- a/run/line_token_02.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/line_token_02.d	Fri Mar 25 05:22:21 2005 +0000
@@ -5,9 +5,6 @@
 	}catch(Exception e){
 		checkLineNumber(e);
 		return 0;
-	}catch(Error e){
-		checkLineNumber(e);
-		return 0;
 	}
 
 	assert(-1);
--- a/run/named_entity_01.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/named_entity_01.d	Fri Mar 25 05:22:21 2005 +0000
@@ -104,4 +104,4 @@
 	assert('\&thorn;'==254);
 	assert('\&yuml;'==255);
 	return 0;
-}
\ No newline at end of file
+}
--- a/run/scope_01.d	Fri Mar 25 05:15:43 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	J Anderson <REMOVEanderson@badmama.com.au>
-// @date@	2004-05-01
-// @uri@	news:c70jk9$off$1@digitaldaemon.com
-// @url@	nntp://digitalmars.com/digitalmars.D.bugs/53
-
-module dstress.run.scope_01;
-
-int check;
-
-class MyClass{
-	this(){
-		status=3;
-	}
-	
-	void call(){
-		assert(check==0);
-		assert(status==3);
-		check+=1;
-		s.test();
-		check+=4;
-	}
-
-	struct MyStruct{
-		void test(){
-			assert(check==1);
-			assert(status==3);
-			status=4;
-			check+=3;
-		}
-	}
-
-	MyStruct s;
-	int status;
-}
-
-int main(){
-	MyClass c = new MyClass();
-	assert(c.status==3);
-	assert(check==0);
-	c.call();
-	assert(c.status==4);
-	assert(check==8);
-	return 0;
-}
--- a/run/template_08.d	Fri Mar 25 05:15:43 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	tetsuya <tetsuya_member@pathlink.com>
-// @date@	2004-12-13
-// @uri@	news:cpk4vq$1m5a$1@digitaldaemon.com
-// @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2546
-
-module dstress.run.template_08;
-
-template T(){
-	A a;
-	class A {
-		this() { 
-			a = this; 
-		} 
-	}
-}
-
-int main(){
-	mixin T!();
-	return 0;
-}
--- a/run/typeid_81.d	Fri Mar 25 05:15:43 2005 +0000
+++ b/run/typeid_81.d	Fri Mar 25 05:22:21 2005 +0000
@@ -13,6 +13,6 @@
 int main(){
 	TypeInfo ti = typeid(typeof(A));
 	assert(!(ti is null));
-	assert(ti.tsize==(A).sizeof);
+	assert(ti.tsize==(typeof(A)).sizeof);
 	return 0;
 }