Fix initializing mapping return variables.

This commit is contained in:
chriseth
2020-11-11 18:08:42 +01:00
parent be7b2c3725
commit 01d7d50750
2 changed files with 5 additions and 1 deletions
@@ -17,6 +17,8 @@ contract test {
return (a[0], a[1], a[2], b[0], b[1], b[2]);
}
}
// ====
// compileViaYul: also
// ----
// g() -> 0, 42, 0, 0, 84, 21
// h() -> 0, 42, 0, 0, 84, 17