mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
added test
This commit is contained in:
parent
0ebab439be
commit
12aa654bad
@ -0,0 +1,11 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
// ----
|
Loading…
Reference in New Issue
Block a user