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 { }
}
// ----
// ParserError: (25-25): enum with no members is not allowed.