aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/name_shadowing.sol
blob: 67ada4a432fc4249fb8001a54f3da842739f6c86 (plain) (tree)
1
2
3
4
5
6




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