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

16 lines
148 B
Solidity
Raw Normal View History

pragma experimental SMTChecker;
contract A {
uint x;
2020-06-23 12:14:24 +00:00
constructor() {
x = 2;
}
}
contract B is A {
2020-06-23 12:14:24 +00:00
constructor() A() {
x = 3;
}
}
// ----