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:
@@ -0,0 +1,9 @@
|
||||
contract c {
|
||||
function f() public {
|
||||
uint create2; create2;
|
||||
assembly { pop(create2(0, 0, 0, 0)) }
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// EVMVersion: >=constantinople
|
||||
// ----
|
||||
Reference in New Issue
Block a user