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

8 lines
137 B
Plaintext

{
function g() {
let g := 0
}
}
// ----
// DeclarationError 1395: (20-30='let g := 0'): Variable name g already taken in this scope.