solidity/test/libsolidity/smtCheckerTests/imports/private_vars.sol

17 lines
304 B
Solidity
Raw Normal View History

2020-10-28 18:13:40 +00:00
==== 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();
}
}