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

16 lines
162 B
Solidity
Raw Normal View History

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