2019-11-10 17:58:29 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
contract C {
|
2020-02-12 02:21:42 +00:00
|
|
|
function(uint) returns (uint) a;
|
|
|
|
function(uint) returns (uint) b;
|
2019-11-10 17:58:29 +00:00
|
|
|
function f(function(uint) returns (uint) g, function(uint) returns (uint) h) internal {
|
|
|
|
assert(g(2) == h(2));
|
|
|
|
assert(g == h);
|
|
|
|
}
|
2020-02-12 02:21:42 +00:00
|
|
|
function g() public {
|
|
|
|
f(a, b);
|
|
|
|
}
|
2019-11-10 17:58:29 +00:00
|
|
|
}
|
|
|
|
// ----
|
2020-02-12 02:21:42 +00:00
|
|
|
// Warning: (214-218): Assertion checker does not yet implement this type of function call.
|
|
|
|
// Warning: (222-226): Assertion checker does not yet implement this type of function call.
|
|
|
|
// Warning: (238-244): Assertion checker does not yet implement the type function (uint256) returns (uint256) for comparisons
|
|
|
|
// Warning: (207-227): Assertion violation happens here
|
|
|
|
// Warning: (231-245): Assertion violation happens here
|
|
|
|
// Warning: (214-218): Assertion checker does not yet implement this type of function call.
|
|
|
|
// Warning: (222-226): Assertion checker does not yet implement this type of function call.
|
|
|
|
// Warning: (238-244): Assertion checker does not yet implement the type function (uint256) returns (uint256) for comparisons
|
|
|
|
// Warning: (207-227): Assertion violation happens here
|
|
|
|
// Warning: (231-245): Assertion violation happens here
|