solidity/test/libsolidity/smtCheckerTests/types/struct_1.sol

27 lines
1.0 KiB
Solidity
Raw Normal View History

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);
}
}
// ----
// Warning: (157-170): Unused local variable.
// Warning: (157-170): Assertion checker does not yet support the type of this variable.
2019-07-01 14:25:33 +00:00
// Warning: (139-146): Assertion checker does not yet implement type struct C.S storage ref
2019-11-15 13:48:11 +00:00
// Warning: (149-150): Assertion checker does not yet implement type type(struct C.S storage pointer)
2019-07-01 14:25:33 +00:00
// Warning: (149-153): Assertion checker does not yet implement type struct C.S memory
// Warning: (149-153): Assertion checker does not yet implement this expression.
// Warning: (139-153): Assertion checker does not yet implement type struct C.S storage ref
2019-11-15 13:48:11 +00:00
// Warning: (173-174): Assertion checker does not yet implement type type(struct C.S storage pointer)
2019-07-01 14:25:33 +00:00
// Warning: (173-177): Assertion checker does not yet implement type struct C.S memory
// Warning: (173-177): Assertion checker does not yet implement this expression.