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.
19 lines
254 B
19 lines
254 B
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{}
|
||
|
}
|
||
|
}
|