www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Internal error: ../ztc/el.c 826

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

# int main(){
#     alias cdouble X;
#     X four = cast(X) (4.0i + 0.4); // OK
#    
#     typedef cdouble Y;
#     Y four = cast(Y) (4.0i + 0.4); // ERROR
#    
#     return 0;
# }

dmd a.d
 Internal error: ../ztc/el.c 826
Added to DStress as http://dstress.kuehne.cn/run/c/cast_30_A.d http://dstress.kuehne.cn/run/c/cast_30_B.d http://dstress.kuehne.cn/run/c/cast_30_C.d http://dstress.kuehne.cn/run/c/cast_30_D.d http://dstress.kuehne.cn/run/c/cast_30_E.d http://dstress.kuehne.cn/run/c/cast_30_F.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFDkgfB3w+/yD4P9tIRAs+yAJ9j+qlXFBym/cF9SMH7XDYzG59RvwCfb4XJ Lb3LdST6cXglSIqf62yS4Zg= =KwAL -----END PGP SIGNATURE-----
Dec 03 2005