mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Extract scoping tests.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
contract test {
|
||||
uint256 variable;
|
||||
function f() pure public { uint32 variable; variable = 2; }
|
||||
}
|
||||
// ----
|
||||
// Warning: This declaration shadows an existing declaration.
|
||||
|
||||
Reference in New Issue
Block a user