2018-05-16 01:06:47 +00:00
|
|
|
contract C {
|
|
|
|
function f() {
|
|
|
|
uint a = (1);
|
2018-06-11 12:15:27 +00:00
|
|
|
(uint b,) = (1,);
|
|
|
|
(uint c, uint d) = (1, 2 + a);
|
|
|
|
(uint e,) = (1, 2, b);
|
2018-05-16 01:06:47 +00:00
|
|
|
(a) = 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2018-06-11 12:15:27 +00:00
|
|
|
// Warning: (47-63): Different number of components on the left hand side (2) than on the right hand side (1).
|
|
|
|
// Warning: (100-121): Different number of components on the left hand side (2) than on the right hand side (3).
|
|
|
|
// Warning: (14-136): No visibility specified. Defaulting to "public".
|
|
|
|
// Warning: (68-74): Unused local variable.
|
|
|
|
// Warning: (76-82): Unused local variable.
|
|
|
|
// Warning: (101-107): Unused local variable.
|
|
|
|
// Warning: (14-136): Function state mutability can be restricted to pure
|