mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
195 B
Solidity
12 lines
195 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C {
|
|
function f(int a, uint b) public view {
|
|
a >>= tx.gasprice;
|
|
require(a == 16 && b == 2);
|
|
a >>= b;
|
|
assert(a == 4); // should hold
|
|
}
|
|
}
|
|
// ----
|