2019-02-27 16:32:48 +00:00
|
|
|
contract n
|
|
|
|
{
|
2020-04-07 17:31:48 +00:00
|
|
|
fallback() external
|
2019-02-27 16:32:48 +00:00
|
|
|
{
|
|
|
|
// Used to cause a segfault
|
2020-07-15 17:50:59 +00:00
|
|
|
(uint x, ) = (1);
|
|
|
|
(uint z) = ();
|
2019-02-27 16:32:48 +00:00
|
|
|
|
|
|
|
assembly {
|
2020-07-15 17:50:59 +00:00
|
|
|
mstore(x, z)
|
2019-02-27 16:32:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-07-15 17:50:59 +00:00
|
|
|
// TypeError 7364: (69-85): Different number of components on the left hand side (2) than on the right hand side (1).
|
|
|
|
// TypeError 7364: (89-102): Different number of components on the left hand side (1) than on the right hand side (0).
|