changeset 980:aaf6f2e639e9

repository review
author thomask
date Sun, 30 Apr 2006 09:13:22 +0000
parents ee58e47a69b7
children f410034559af
files nocompile/f/function_04_A.d nocompile/f/function_04_B.d nocompile/super_06.d run/f/float_28_A.d
diffstat 4 files changed, 21 insertions(+), 30 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/f/function_04_A.d	Sun Apr 30 09:13:22 2006 +0000
@@ -0,0 +1,10 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 9
+
+module dstress.nocompile.f.function_04_A;
+
+int& test(){
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/f/function_04_B.d	Sun Apr 30 09:13:22 2006 +0000
@@ -0,0 +1,10 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 9
+
+module dstress.nocompile.f.function_04_B;
+
+void test(int& x){
+}
--- a/nocompile/super_06.d	Fri Apr 28 13:31:19 2006 +0000
+++ b/nocompile/super_06.d	Sun Apr 30 09:13:22 2006 +0000
@@ -2,7 +2,7 @@
 // $Date$
 // $Base$
 
-// __DSTRESS_ELINE__ 10
+// __DSTRESS_ELINE__ 15
 
 module dstress.nocompile.super_06;
 
--- a/run/f/float_28_A.d	Fri Apr 28 13:31:19 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// based on: gcc.c-torture/execute/ieee/980619-1.c 
-
-module dstress.run.f.float_28_A;
-
-int main(){
-	float reale = 1.0f;
-	float oneplus;
-	int i;
-
-	for(i = 0; ; i++){
-		oneplus = 1.0f + reale;
-		if(oneplus == 1.0f){
-			break;
-		}
-
-		reale = reale / 2.0f;
-	}
-
-	/* Assumes ieee754 accurate arithmetic above. */
-	if(i != 24){
-		assert(0);
-	}
-
-	return 0;
-}