mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Only warn about variables being shadowed in inline assembly.
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
contract c {
|
||||
function f() public view {
|
||||
uint extcodehash;
|
||||
extcodehash;
|
||||
assembly { pop(extcodehash(0)) }
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// EVMVersion: >=constantinople
|
||||
Reference in New Issue
Block a user