solidity/test/libsolidity/syntaxTests/parsing/empty_enum.sol

6 lines
104 B
Solidity

contract c {
enum foo { }
}
// ----
// ParserError 3147: (25-26): Enum with no members is not allowed.