solidity/test/libsolidity/syntaxTests/parsing/enum_valid_declaration.sol
2021-04-20 17:38:29 +02:00

9 lines
150 B
Solidity

contract c {
enum validEnum { Value1, Value2, Value3, Value4 }
constructor() {
a = validEnum.Value3;
}
validEnum a;
}
// ----