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

10 lines
221 B
Solidity

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