digitalmars.D.bugs - circular constant definitions not rejected by dmd 0.147
- Wang Zhen <nehzgnaw gmail.com> Feb 17 2006
- Thomas Kuehne <thomas-dloop kuehne.cn> Feb 17 2006
const int a = b;
const int b = .a;
void main(){}
//should not compile
Feb 17 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Wang Zhen schrieb am 2006-02-17:const int a = b; const int b = .a; void main(){} //should not compile
Added to DStress as http://dstress.kuehne.cn/nocompile/c/const_32_A.d http://dstress.kuehne.cn/nocompile/c/const_32_B.d http://dstress.kuehne.cn/nocompile/c/const_32_C.d http://dstress.kuehne.cn/nocompile/c/const_32_D.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFD9cOY3w+/yD4P9tIRAmqlAKCP0R909jD5j2iY3MnsALR7ZW1X+wCdFNM4 pn4OThZ1RJzLwAy86wUE3ck= =idcP -----END PGP SIGNATURE-----
Feb 17 2006








Thomas Kuehne <thomas-dloop kuehne.cn>