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/top_level_variable-0.8.0.sol

18 lines
157 B

3 years ago
uint constant A = 10;
struct St{
uint[A] b;
}
function f() returns(uint){
return A;
}
contract T{
function g() public{
f();
}
}