mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker] Use SymbolicFunctionVariable for uninterpreted functions
This commit is contained in:
@@ -12,3 +12,4 @@ contract C
|
||||
}
|
||||
|
||||
// ----
|
||||
// Warning: (153-156): Assertion checker does not yet implement tuples and inline arrays.
|
||||
|
||||
@@ -12,4 +12,5 @@ contract C
|
||||
}
|
||||
|
||||
// ----
|
||||
// Warning: (153-156): Assertion checker does not yet implement tuples and inline arrays.
|
||||
// Warning: (163-176): Assertion violation happens here
|
||||
|
||||
@@ -8,7 +8,6 @@ contract C
|
||||
}
|
||||
// ----
|
||||
// Warning: (86-101): Assertion checker does not yet support this expression.
|
||||
// Warning: (86-94): Assertion checker does not yet support this special variable.
|
||||
// Warning: (86-94): Assertion checker does not yet implement this type.
|
||||
// Warning: (86-94): Assertion checker does not yet support this global variable.
|
||||
// Warning: (86-101): Internal error: Expression undefined for SMT solver.
|
||||
// Warning: (79-106): Assertion violation happens here
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
pragma experimental SMTChecker;
|
||||
|
||||
contract C
|
||||
{
|
||||
function f(bytes memory b) public pure returns (bytes memory) {
|
||||
bytes memory c = b;
|
||||
return b;
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (113-127): Unused local variable.
|
||||
// Warning: (113-127): Assertion checker does not yet support the type of this variable.
|
||||
// Warning: (58-72): Assertion checker does not yet support the type of this variable.
|
||||
// Warning: (95-107): Assertion checker does not yet support the type of this variable.
|
||||
// Warning: (130-131): Internal error: Expression undefined for SMT solver.
|
||||
// Warning: (130-131): Assertion checker does not yet implement this type.
|
||||
Reference in New Issue
Block a user