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

8 lines
135 B
Solidity
Raw Normal View History

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