solidity/test/libyul/yulSyntaxTests/declaration_duplicate_vars.yul
2022-04-01 23:41:18 -05:00

7 lines
154 B
Plaintext

{
function f() -> a, b {}
let x, x := f()
}
// ----
// DeclarationError 1395: (30-45='let x, x := f()'): Variable name x already taken in this scope.