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

9 lines
160 B
Solidity

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