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

9 lines
160 B
Solidity
Raw Normal View History

2020-05-05 08:56:31 +00:00
contract C {
function f() public view {
uint now = block.timestamp;
now;
}
}
// ----
2020-06-22 16:43:57 +00:00
// Warning 2319: (43-51): This declaration shadows a builtin symbol.