solidity/test/cmdlineTests/model_checker_ext_calls_wrong_arg/input.sol
2023-02-06 17:02:33 +01:00

15 lines
227 B
Solidity

// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.0;
contract Ext {
function f() public view returns (uint) {
return 42;
}
}
contract test {
function g(Ext e) public view {
uint x = e.f();
assert(x == 42);
}
}