changeset 397:56431d0f252e

bypas dmd-0.120's problems with real->complex
author thomask
date Wed, 06 Apr 2005 20:54:40 +0000
parents 70b2268df736
children 0728e025bd4b
files run/associative_array_12.d run/associative_array_13.d run/associative_array_14.d
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/run/associative_array_12.d	Wed Apr 06 20:41:13 2005 +0000
+++ b/run/associative_array_12.d	Wed Apr 06 20:54:40 2005 +0000
@@ -10,8 +10,8 @@
 
 int main() {
 	int[cfloat] x;
-	cfloat d=22;
+	cfloat d=22.0f+0.0fi;
 	x[d] = 44;
 	assert( x[d] == 44 );
 	return 0;
-}
\ No newline at end of file
+}
--- a/run/associative_array_13.d	Wed Apr 06 20:41:13 2005 +0000
+++ b/run/associative_array_13.d	Wed Apr 06 20:54:40 2005 +0000
@@ -10,8 +10,8 @@
 
 int main() {
 	int[cdouble] x;
-	cdouble d=22;
+	cdouble d=22.0+0.0i;
 	x[d] = 44;
 	assert( x[d] == 44 );
 	return 0;
-}
\ No newline at end of file
+}
--- a/run/associative_array_14.d	Wed Apr 06 20:41:13 2005 +0000
+++ b/run/associative_array_14.d	Wed Apr 06 20:54:40 2005 +0000
@@ -10,8 +10,8 @@
 
 int main() {
 	int[creal] x;
-	creal d=22;
+	creal d=22.0L+0.0L;
 	x[d] = 44;
 	assert( x[d] == 44 );
 	return 0;
-}
\ No newline at end of file
+}