mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
249 B
Solidity
9 lines
249 B
Solidity
pragma experimental SMTChecker;
|
|
contract C {
|
|
function f(function(uint) external returns (uint) g, function(uint) external returns (uint) h) public {
|
|
assert(g(2) == h(2));
|
|
}
|
|
}
|
|
// ----
|
|
// Warning: (155-175): Assertion violation happens here
|