aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/enum_valid_declaration.sol
blob: 606f59d722e68822a736f8d0954b84099f72ef55 (plain) (blame)
1
2
3
4
5
6
7
contract c {
    enum validEnum { Value1, Value2, Value3, Value4 }
    constructor() public {
        a = validEnum.Value3;
    }
    validEnum a;
}