solidity/test/libsolidity/syntaxTests/scoping/name_shadowing.sol
2018-04-10 14:08:22 +02:00

7 lines
183 B
Solidity

contract test {
uint256 variable;
function f() pure public { uint32 variable; variable = 2; }
}
// ----
// Warning: (69-84): This declaration shadows an existing declaration.