solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/148_external_argument_delete.sol

6 lines
124 B
Solidity
Raw Normal View History

contract c {
function f(uint a) external { delete a; }
}
// ----
// TypeError: (54-55): Expression has to be an lvalue.