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

9 lines
155 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;
}
}
// ----
// Warning: (43-51): This declaration shadows a builtin symbol.