solidity/test/libyul/yulSyntaxTests/function_shadowing_outside_vars_2.yul

7 lines
131 B
Plaintext
Raw Normal View History

2020-10-14 10:05:36 +00:00
{
let x:u256
function f() -> x:u256 {}
}
// ----
// DeclarationError 1395: (15-40): Variable name x already taken in this scope.