# HG changeset patch # User thomask # Date 1112820880 0 # Node ID 56431d0f252e97946fc23688a00846d6fcc2d06b # Parent 70b2268df736f35de7e1a752be8ea59977a8e5e7 bypas dmd-0.120's problems with real->complex diff -r 70b2268df736 -r 56431d0f252e run/associative_array_12.d --- 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 +} diff -r 70b2268df736 -r 56431d0f252e run/associative_array_13.d --- 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 +} diff -r 70b2268df736 -r 56431d0f252e run/associative_array_14.d --- 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 +}