solidity/test/libsolidity/syntaxTests/globalFunctions/now_override.sol
2020-05-05 21:11:15 +05:30

9 lines
155 B
Solidity

contract C {
function f() public view {
uint now = block.timestamp;
now;
}
}
// ----
// Warning: (43-51): This declaration shadows a builtin symbol.