solidity/test/libsolidity/syntaxTests/literalSuffixes/application/invalid_suffixed_enum_member.sol
2023-03-22 13:16:31 +01:00

10 lines
172 B
Solidity

enum E {A, B, C}
function suffix(E) pure suffix returns (E) {}
contract C {
E e = E.A suffix;
}
// ----
// ParserError 2314: (92-98): Expected ';' but got identifier