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

6 lines
104 B
Solidity
Raw Normal View History

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