solidity/test/libsolidity/syntaxTests/inlineAssembly/shadowing/variable_by_opcode.sol
2020-11-05 10:30:09 +00:00

15 lines
369 B
Solidity

contract C {
function f() public pure {
uint mload;
}
function g() public pure {
uint mload;
assembly {
}
}
}
// ----
// Warning 8261: (109-119): Variable is shadowed in inline assembly by an instruction of the same name
// Warning 2072: (52-62): Unused local variable.
// Warning 2072: (109-119): Unused local variable.