Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slither/examples/scripts/variable_in_condition.sol

20 lines
238 B

contract Contract{
uint a;
function condition() public{
if(a==0){
}
}
function call_require() public{
require(a==0);
}
function read_and_write() public{
a = a + 1;
}
}