www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [enum] multiple definition (1)

reply Manfred Nowak <svv1999 hotmail.com> writes:
[enum] multiple definition (1)

const int A=0;
enum { A};
Jul 23 2005
parent =?UTF-8?B?VGhvbWFzIEvDvGhuZQ==?= writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Manfred Nowak schrieb:
 [enum] multiple definition (1)
 
 const int A=0;
 enum { A};

Added to DStress as http://dstress.kuehne.cn/nocompile/e/enum_39_A.d http://dstress.kuehne.cn/nocompile/e/enum_39_B.d Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) iD8DBQFC4/wj3w+/yD4P9tIRAoOLAJ9xJYj1+Qb0x+fbR9q2MSBNiU1HTACgoViF tG9WqurtCU2nGrRGUtPLkK4= =dKWn -----END PGP SIGNATURE-----
Jul 24 2005