aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/empty_enum.sol
blob: 483f6a917685a930379f10c4e6ecaa55c3ca238a (plain) (tree)
1
2
3
4
5



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