mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix 1-tuple chain
This commit is contained in:
@@ -132,6 +132,7 @@ contract PropagateThroughReturnValue {
|
||||
// Warning 8182: (539-567): Assertion checker does not yet implement such assignments.
|
||||
// Warning 8115: (629-643): Assertion checker does not yet support the type of this variable.
|
||||
// Warning 8364: (646-668): Assertion checker does not yet implement type struct Reference.St storage ref
|
||||
// Warning 8364: (700-703): Assertion checker does not yet implement type struct Reference.St storage pointer
|
||||
// Warning 8364: (706-728): Assertion checker does not yet implement type struct Reference.St storage ref
|
||||
// Warning 8364: (700-728): Assertion checker does not yet implement type struct Reference.St storage pointer
|
||||
// Warning 7650: (748-755): Assertion checker does not yet support this expression.
|
||||
|
||||
@@ -13,7 +13,8 @@ contract C
|
||||
assert(x > 0);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// SMTSolvers: cvc4
|
||||
// ----
|
||||
// Warning 1218: (296-309): Error trying to invoke SMT solver.
|
||||
// Warning 2661: (176-181): Overflow (resulting value larger than 2**256 - 1) happens here
|
||||
// Warning 4661: (296-309): Assertion violation happens here
|
||||
|
||||
@@ -22,6 +22,7 @@ contract C
|
||||
// Warning 7650: (117-120): Assertion checker does not yet support this expression.
|
||||
// Warning 8364: (117-118): Assertion checker does not yet implement type struct C.S memory
|
||||
// Warning 8182: (117-124): Assertion checker does not yet implement such assignments.
|
||||
// Warning 8364: (145-146): Assertion checker does not yet implement type struct C.S memory
|
||||
// Warning 7650: (165-168): Assertion checker does not yet support this expression.
|
||||
// Warning 8364: (165-166): Assertion checker does not yet implement type struct C.S memory
|
||||
// Warning 2683: (158-168): Assertion checker does not yet implement "delete" for this expression.
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
pragma experimental SMTChecker;
|
||||
contract C {
|
||||
function i() public pure returns (uint d) {
|
||||
if (0==0)
|
||||
(d) = 13;
|
||||
assert(d == 13);
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6838: (96-100): Condition is always true.
|
||||
@@ -0,0 +1,10 @@
|
||||
pragma experimental SMTChecker;
|
||||
contract C {
|
||||
function i() public pure returns (uint d) {
|
||||
if (0==0)
|
||||
((d)) = 13;
|
||||
assert(d == 13);
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6838: (96-100): Condition is always true.
|
||||
@@ -0,0 +1,10 @@
|
||||
pragma experimental SMTChecker;
|
||||
contract C {
|
||||
function i() public pure returns (uint d) {
|
||||
if (0==0)
|
||||
(((((d))))) = 13;
|
||||
assert(d == 13);
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6838: (96-100): Condition is always true.
|
||||
@@ -19,5 +19,6 @@ contract C {
|
||||
// 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.
|
||||
// Warning 8364: (227-228): Assertion checker does not yet implement type struct C.S memory
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user