changeset 398:0728e025bd4b

added dmd-0.120/Linux results
author thomask
date Wed, 06 Apr 2005 21:53:12 +0000
parents 56431d0f252e
children 8f24d8aa2308
files run/associative_array_14.d run/creal_09.d
diffstat 2 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/run/associative_array_14.d	Wed Apr 06 20:54:40 2005 +0000
+++ b/run/associative_array_14.d	Wed Apr 06 21:53:12 2005 +0000
@@ -10,7 +10,7 @@
 
 int main() {
 	int[creal] x;
-	creal d=22.0L+0.0L;
+	creal d=22.0L+0.0Li;
 	x[d] = 44;
 	assert( x[d] == 44 );
 	return 0;
--- a/run/creal_09.d	Wed Apr 06 20:54:40 2005 +0000
+++ b/run/creal_09.d	Wed Apr 06 21:53:12 2005 +0000
@@ -5,14 +5,14 @@
 module dstress.run.creal_09;
 
 int main(){
-	creal a = 1.2;
-	assert(a.re == 1.2);
-	assert(a.im == 0.0);
-	a=9.8i;
-	assert(a.re == 0.0);
-	assert(a.im == 9.8);
-	a=1.2+9.8i;
-	assert(a.re == 1.2);
-	assert(a.im == 9.8);
+	creal a = 1.2L;
+	assert(a.re == 1.2L);
+	assert(a.im == 0.0L);
+	a=9.8Li;
+	assert(a.re == 0.0L);
+	assert(a.im == 9.8L);
+	a=1.2L+9.8Li;
+	assert(a.re == 1.2L);
+	assert(a.im == 9.8L);
 	return 0;
 }