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.