1 2 3 4 5 6 7 8 9 10
contract C { uint constant a; function f() public pure { assembly { let a := 1 } } } // ---- // DeclarationError 3859: (100-101): This declaration shadows a declaration outside the inline assembly block.