solidity/test/libsolidity/smtCheckerTests/functions/constructor_base_basic.sol
2020-07-07 12:16:18 +02:00

16 lines
148 B
Solidity

pragma experimental SMTChecker;
contract A {
uint x;
constructor() {
x = 2;
}
}
contract B is A {
constructor() A() {
x = 3;
}
}
// ----