mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
25 lines
1.1 KiB
Solidity
25 lines
1.1 KiB
Solidity
pragma experimental SMTChecker;
|
|
contract test {
|
|
struct s { uint a; uint b;}
|
|
function f() pure public returns (byte) {
|
|
s;
|
|
s(1,2);
|
|
s[7];
|
|
uint;
|
|
uint[7];
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 6133: (125-126): Statement has no effect.
|
|
// Warning 6133: (130-136): Statement has no effect.
|
|
// Warning 6133: (140-144): Statement has no effect.
|
|
// Warning 6133: (148-152): Statement has no effect.
|
|
// Warning 6133: (156-163): Statement has no effect.
|
|
// Warning 8364: (125-126): Assertion checker does not yet implement type type(struct test.s storage pointer)
|
|
// Warning 8364: (130-131): Assertion checker does not yet implement type type(struct test.s storage pointer)
|
|
// Warning 8364: (130-136): Assertion checker does not yet implement type struct test.s memory
|
|
// Warning 4639: (130-136): Assertion checker does not yet implement this expression.
|
|
// Warning 8364: (140-141): Assertion checker does not yet implement type type(struct test.s storage pointer)
|
|
// Warning 8364: (140-144): Assertion checker does not yet implement type type(struct test.s memory[7] memory)
|
|
// Warning 8364: (156-163): Assertion checker does not yet implement type type(uint256[7] memory)
|