solidity/test/libsolidity/syntaxTests/globalFunctions/now_deprecate.sol

8 lines
142 B
Solidity
Raw Normal View History

2020-05-05 08:56:31 +00:00
contract C {
function f() public {
now;
}
}
// ----
2020-06-22 16:43:57 +00:00
// TypeError 7359: (38-41): "now" has been deprecated. Use "block.timestamp" instead.