solidity/test/libsolidity/smtCheckerTests/bmc_coverage/math_constructor.sol

10 lines
196 B
Solidity
Raw Normal View History

2020-12-16 17:32:34 +00:00
pragma experimental SMTChecker;
contract C {
uint z = 1;
uint w = z - 3;
}
// ====
// SMTEngine: bmc
// ----
// Warning 4144: (68-73): BMC: Underflow (resulting value less than 0) happens here.