solidity/test/libsolidity/syntaxTests/types/function_call_fail.sol

8 lines
130 B
Solidity

contract C {
function f(uint y) public pure {
(4(y)) = 2;
}
}
// ----
// TypeError: (59-63): Type is not callable