solidity/test/libsolidity/smtCheckerTests/types/rational_large_1.sol

11 lines
218 B
Solidity
Raw Normal View History

pragma experimental SMTChecker;
contract c {
function f() public pure returns (uint) {
uint x = 8e130%9;
assert(x == 8);
assert(x != 8);
}
}
// ----
2020-07-13 18:48:00 +00:00
// Warning 6328: (128-142): Assertion violation happens here