solidity/test/libsolidity/smtCheckerTests/operators/fixed_point_add.sol
2020-08-14 12:58:27 +02:00

12 lines
473 B
Solidity

pragma experimental SMTChecker;
contract test {
function f() internal pure {
ufixed a = uint64(1) + ufixed(2);
}
}
// ----
// Warning 2072: (80-88): Unused local variable.
// Warning 4984: (91-112): Overflow (resulting value larger than 2**256 - 1) happens here
// Warning 5084: (91-100): Type conversion is not yet fully supported and might yield false positives.
// Warning 5084: (103-112): Type conversion is not yet fully supported and might yield false positives.