2020-05-28 10:28:22 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
contract C
|
|
|
|
{
|
|
|
|
struct S {
|
|
|
|
uint x;
|
|
|
|
}
|
|
|
|
mapping (uint => S) smap;
|
|
|
|
function f(uint y, uint v) public {
|
|
|
|
if (0==1)
|
|
|
|
smap[y] = S(v);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// Warning 6838: (140-144): Condition is always false.
|
|
|
|
// Warning 8364: (149-156): Assertion checker does not yet implement type struct C.S storage ref
|
|
|
|
// Warning 8364: (159-160): Assertion checker does not yet implement type type(struct C.S storage pointer)
|
|
|
|
// Warning 8364: (159-163): Assertion checker does not yet implement type struct C.S memory
|
|
|
|
// Warning 4639: (159-163): Assertion checker does not yet implement this expression.
|
|
|
|
// Warning 8364: (149-163): Assertion checker does not yet implement type struct C.S storage ref
|