solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/146_external_argument_assign.sol

6 lines
121 B
Solidity
Raw Normal View History

contract c {
function f(uint a) external { a = 1; }
}
// ----
// TypeError: (47-48): Expression has to be an lvalue.