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

9 lines
236 B
Solidity

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