solidity/test/libsolidity/syntaxTests/parsing/empty_enum.sol
2020-01-08 16:12:06 +01:00

6 lines
101 B
Solidity

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