www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - non-constant expression causes internal error

reply Wang Zhen <nehzgnaw gmail.com> writes:
const int t = .t; int main(){return t;}
//Internal error: e2ir.c 736 (dmd 0.147)
Feb 17 2006
parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wang Zhen schrieb am 2006-02-17:
 const int t = .t; int main(){return t;}
 //Internal error: e2ir.c 736 (dmd 0.147)
Added to DStress as http://dstress.kuehne.cn/nocompile/c/const_33_A.d http://dstress.kuehne.cn/nocompile/c/const_33_B.d http://dstress.kuehne.cn/nocompile/c/const_33_C.d http://dstress.kuehne.cn/nocompile/c/const_33_D.d http://dstress.kuehne.cn/nocompile/c/const_33_E.d http://dstress.kuehne.cn/nocompile/c/const_33_F.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFD9cRN3w+/yD4P9tIRArwUAJ9BcDI84Mujs2U2S92Hx+SfhUEkAACcCDAE n/1qcxivLUO+P0M5iVnUqMs= =jLQn -----END PGP SIGNATURE-----
Feb 17 2006