https://issues.dlang.org/show_bug.cgi?id=10285

--- Comment #2 from [email protected] ---
The compiler accepts this even though it makes no sense:

enum
{
    int = 5
}

The compiler rejects this though the grammar allows it:

enum A
{
    int b = 5
}

--

Reply via email to