solidity/test/libsolidity/smtCheckerTests/functions/functions_external_4.sol

21 lines
302 B
Solidity
Raw Normal View History

contract C
{
function f(uint _x) public pure returns (uint) {
return _x;
}
}
contract D
{
C c;
function g(uint _y) public view {
uint z = c.f(_y);
assert(z == _y);
}
}
2021-01-20 10:22:28 +00:00
// ====
2021-03-31 15:11:54 +00:00
// SMTEngine: all
2021-01-20 10:22:28 +00:00
// SMTIgnoreCex: yes
// ----
2021-03-31 15:11:54 +00:00
// Warning 6328: (158-173): CHC: Assertion violation happens here.