solidity/test/libsolidity/syntaxTests/inlineAssembly/shadowing/argument.sol

10 lines
227 B
Solidity

contract C {
function f(uint a) public pure {
assembly {
let a := 1
}
}
}
// ----
// DeclarationError 3859: (85-86): This declaration shadows a declaration outside the inline assembly block.