solidity/test/libsolidity/syntaxTests/parsing/empty_enum.sol
2018-05-09 14:08:25 +02:00

6 lines
99 B
Solidity

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