solidity/test/libsolidity/smtCheckerTests/bmc_coverage/math_constructor.sol
2020-12-30 12:14:30 +01:00

10 lines
196 B
Solidity

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.