aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/name_shadowing.sol
blob: d16877f956304a63b0b73ea0ded7d6ddd7871804 (plain) (blame)
1
2
3
4
5
6
7
contract test {
    uint256 variable;
    function f() pure public { uint32 variable; variable = 2; }
}
// ----
// Warning: This declaration shadows an existing declaration.