solidity/test/libyul/yulSyntaxTests/if_statement_scope_2.yul
2020-11-04 12:03:33 +01:00

9 lines
144 B
Plaintext

{
if 32 { let x := 3 }
x := 2
}
// ====
// dialect: evm
// ----
// DeclarationError 4634: (25-26): Variable not found or variable not lvalue.