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.
36 lines
631 B
36 lines
631 B
4 years ago
|
// pragma solidity ^0.4.25;
|
||
6 years ago
|
|
||
|
contract BaseContract {
|
||
|
uint blockhash;
|
||
|
uint now;
|
||
|
|
||
|
event revert(bool condition);
|
||
|
}
|
||
|
|
||
|
contract ExtendedContract is BaseContract {
|
||
|
uint ecrecover = 7;
|
||
|
|
||
|
function assert(bool condition) public {
|
||
|
uint msg;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
contract FurtherExtendedContract is ExtendedContract {
|
||
|
uint blockhash = 7;
|
||
|
uint this = 5;
|
||
|
uint abi;
|
||
|
|
||
|
modifier require {
|
||
|
assert(msg.sender != address(0));
|
||
|
uint keccak256;
|
||
|
uint sha3;
|
||
|
_;
|
||
|
}
|
||
|
}
|
||
|
|
||
4 years ago
|
// solc reports: Expected identifier but got reserved keyword 'mutable'
|
||
|
// contract Reserved{
|
||
|
// address mutable;
|
||
6 years ago
|
|
||
4 years ago
|
// }
|