2019-02-14 12:24:39 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
contract C
|
|
|
|
{
|
|
|
|
struct S {
|
|
|
|
uint x;
|
|
|
|
}
|
|
|
|
|
|
|
|
mapping (uint => S) smap;
|
|
|
|
|
|
|
|
function f(uint y, uint v) public {
|
|
|
|
smap[y] = S(v);
|
|
|
|
S memory smem = S(v);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// Warning 2072: (157-170): Unused local variable.
|
|
|
|
// Warning 8115: (157-170): Assertion checker does not yet support the type of this variable.
|
|
|
|
// Warning 8364: (139-146): Assertion checker does not yet implement type struct C.S storage ref
|
|
|
|
// Warning 8364: (149-150): Assertion checker does not yet implement type type(struct C.S storage pointer)
|
|
|
|
// Warning 8364: (149-153): Assertion checker does not yet implement type struct C.S memory
|
|
|
|
// Warning 4639: (149-153): Assertion checker does not yet implement this expression.
|
|
|
|
// Warning 8364: (139-153): Assertion checker does not yet implement type struct C.S storage ref
|
|
|
|
// Warning 8364: (173-174): Assertion checker does not yet implement type type(struct C.S storage pointer)
|
|
|
|
// Warning 8364: (173-177): Assertion checker does not yet implement type struct C.S memory
|
|
|
|
// Warning 4639: (173-177): Assertion checker does not yet implement this expression.
|