solidity/test/libsolidity/smtCheckerTests/complex/warn_on_typecast.sol

9 lines
231 B
Solidity
Raw Normal View History

pragma experimental SMTChecker;
contract C {
function f() public pure returns (uint) {
return uint8(1);
}
}
// ----
2018-12-20 12:20:07 +00:00
// Warning: (106-114): Type conversion is not yet fully supported and might yield false positives.