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/tests/ast-parsing/variabledeclaration-0.4.0.sol

17 lines
411 B

contract C {
function f() public {
var implicitUint8 = 0;
uint8 explicitUint8 = 0;
var implicitUint16 = 256;
uint16 explicitUint16 = 256;
var implicitType = uint[];
uint[][][] memory uintArr;
address ternaryInit = msg.sender.balance > 0 ? msg.sender : block.coinbase;
uint overwritten;
uint overwritten1 = overwritten = 10;
}
}