solidity/test/libsolidity/smtCheckerTests/functions/constructor_base_basic.sol
2019-11-28 14:43:23 +01:00

16 lines
162 B
Solidity

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