enum constant with no initializer

bearophile bearophileHUGS at lycos.com
Fri Apr 2 14:55:30 PDT 2010


Why is this code currently seen an error?

struct Foo {}
enum Foo f;
void main() {}


I have asked for another little change in bugzilla:
http://d.puremagic.com/issues/show_bug.cgi?id=4049

Bye,
bearophile


More information about the Digitalmars-d-announce mailing list