solidity/test/libsolidity/smtCheckerTests/imports/private_vars.sol
2020-11-02 11:42:39 +00:00

17 lines
304 B
Solidity

==== Source: ERC20.sol ====
pragma experimental SMTChecker;
contract ERC20 {
uint256 private a;
function f() internal virtual {
a = 2;
}
}
==== Source: Token.sol ====
pragma experimental SMTChecker;
import "ERC20.sol";
contract Token is ERC20 {
constructor() {
f();
}
}