solidity/test/libsolidity/syntaxTests/globalFunctions/now_deprecate.sol
2020-06-22 18:56:32 +02:00

8 lines
142 B
Solidity

contract C {
function f() public {
now;
}
}
// ----
// TypeError 7359: (38-41): "now" has been deprecated. Use "block.timestamp" instead.