2019-08-02 18:43:54 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
contract C {
|
|
|
|
struct S { uint x; }
|
|
|
|
|
|
|
|
function g() internal pure returns (uint, S memory) {
|
|
|
|
return (2, S(3));
|
|
|
|
}
|
|
|
|
function f(uint a) public pure {
|
|
|
|
uint x;
|
|
|
|
S memory y;
|
|
|
|
if (a > 100)
|
|
|
|
(x, y) = g();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// Warning 8115: (112-120): Assertion checker does not yet support the type of this variable.
|
|
|
|
// Warning 8364: (137-138): Assertion checker does not yet implement type type(struct C.S storage pointer)
|
|
|
|
// Warning 8364: (137-141): Assertion checker does not yet implement type struct C.S memory
|
|
|
|
// Warning 4639: (137-141): Assertion checker does not yet implement this expression.
|
|
|
|
// Warning 8115: (193-203): Assertion checker does not yet support the type of this variable.
|
2020-07-15 16:56:28 +00:00
|
|
|
// Warning 8364: (227-228): Assertion checker does not yet implement type struct C.S memory
|
2020-06-19 00:26:46 +00:00
|
|
|
// Warning 4639: (137-141): Assertion checker does not yet implement this expression.
|
|
|
|
// Warning 6191: (227-228): Assertion checker does not yet implement type struct C.S memory
|