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

10 lines
216 B
Solidity
Raw Normal View History

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