Update tests.

This commit is contained in:
chriseth
2020-07-20 15:40:58 +02:00
parent 53bc0ff18e
commit 0a25370eeb
29 changed files with 59 additions and 3 deletions
@@ -13,5 +13,7 @@ contract C {
}
}
// ====
// compileViaYul: also
// ----
// f((uint256,uint256)): 42, 23 -> 42, 23
@@ -16,5 +16,7 @@ contract C {
}
}
// ====
// compileViaYul: also
// ----
// f(uint256,(uint256,uint256),uint256): 1, 2, 3, 4 -> 1, 2, 3, 4
@@ -23,5 +23,7 @@ contract C {
}
}
// ====
// compileViaYul: also
// ----
// f((uint256,uint256),(uint256),(uint256,uint256)): 1, 2, 3, 4, 5 -> 1, 2, 3, 4, 5
@@ -7,5 +7,7 @@ contract C {
return (s.children.length, s.a, s.children[0].b, s.children[1].b);
}
}
// ====
// compileViaYul: also
// ----
// f((uint256,(uint256)[])): 32, 17, 64, 2, 23, 42 -> 2, 17, 23, 42
@@ -6,5 +6,7 @@ contract C {
return (s.a.length, s.a[0], s.a[1]);
}
}
// ====
// compileViaYul: also
// ----
// f((uint256[])): 32, 32, 2, 42, 23 -> 2, 42, 23