solidity/test/libsolidity/syntaxTests/functionCalls/enum_value_not_callable.sol

8 lines
128 B
Solidity

enum E { A, B, C }
contract C {
uint a = E.B(1000);
}
// ----
// TypeError 5704: (46-55): This expression is not callable.