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

6 lines
99 B
Solidity
Raw Normal View History

2018-05-02 19:49:59 +00:00
contract c {
enum foo { }
}
// ----
2018-05-09 11:15:27 +00:00
// ParserError: (25-26): enum with no members is not allowed.