pragma solidity ^0.5.0;
contract test {
function g() public returns (uint) {
return block.timestamp;
}
}
-----------------
test::[implicit_constructor]: OK
test::g: SKIPPED
Use --show-warnings to see 2 warnings.
Some functions were skipped. Use --verbose to see details.
No errors found.
and
pragma solidity ^0.5.0;
contract test {
function g() public returns (uint) {
return block.difficulty;
}
}
-----------------
test::[implicit_constructor]: OK
test::g: SKIPPED
Use --show-warnings to see 2 warnings.
Some functions were skipped. Use --verbose to see details.
No errors found.
and