2018-08-07 16:44:51 +00:00
|
|
|
// This used to crash in certain compiler versions.
|
|
|
|
contract CrashContract {
|
|
|
|
struct S { uint a; }
|
|
|
|
S x;
|
|
|
|
function f() public {
|
|
|
|
(x, x) = 1(x, x);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// TypeError 5704: (170-177): Type is not callable
|