solidity/test/libsolidity/syntaxTests/parsing/empty_enum.sol
2018-05-02 21:21:11 +01:00

6 lines
99 B
Solidity

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