enum Foo { a = 1 } enum Foo { b // should work fine }