solidity/test/libsolidity/syntaxTests/scoping/name_shadowing2.sol

7 lines
166 B
Solidity

function e() {}
contract test {
function f() pure public { uint e; e = 0; }
}
// ----
// Warning 2519: (63-69): This declaration shadows an existing declaration.