solidity/test/libsolidity/semanticTests/variables/delete_locals.sol
2023-05-11 10:56:55 -05:00

13 lines
231 B
Solidity

contract test {
function delLocal() public returns (uint res1, uint res2){
uint v = 5;
uint w = 6;
uint x = 7;
delete v;
res1 = w;
res2 = x;
}
}
// ----
// delLocal() -> 6, 7