On 2012-11-06 16:15, Walter Bright wrote: >> enum test = "test"; >> >> [test] void foo () {} > > or: > > enum EEE; > [EEE] void foo() { } > First, I didn't know you could have an empty enum. Second, that was my point. I don't like the need for a dummy/empty enum, or the use of a string literal. -- /Jacob Carlborg