mirror of https://github.com/crytic/slither
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.
21 lines
278 B
21 lines
278 B
5 years ago
|
pragma solidity 0.5.1;
|
||
|
|
||
6 years ago
|
contract Constant {
|
||
|
|
||
|
uint a;
|
||
|
|
||
|
|
||
|
function test_view_shadow() public view{
|
||
|
uint a;
|
||
|
a = 0;
|
||
|
}
|
||
|
|
||
|
function test_view() public view{
|
||
|
a;
|
||
|
}
|
||
|
|
||
|
function test_assembly_bug() public view{
|
||
|
assembly{}
|
||
|
}
|
||
|
}
|