Update tests.

This commit is contained in:
Daniel Kirchner
2018-07-12 20:33:52 +02:00
parent 6f383e1626
commit 62645d5302
22 changed files with 177 additions and 103 deletions
@@ -2,8 +2,8 @@ contract C {
function f() pure public {
(uint a, uint b, uint c) = g();
(uint d) = 2;
(, uint e) = 3;
(uint h,) = 4;
(, uint e) = (3,4);
(uint h,) = (4,5);
(uint x,,) = g();
(, uint y,) = g();
a; b; c; d; e; h; x; y;
@@ -11,5 +11,3 @@ contract C {
function g() pure public returns (uint, uint, uint) {}
}
// ----
// Warning: (93-107): Different number of components on the left hand side (2) than on the right hand side (1).
// Warning: (111-124): Different number of components on the left hand side (2) than on the right hand side (1).