mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
18 lines
312 B
Solidity
18 lines
312 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract A {
|
|
uint x;
|
|
constructor() public {
|
|
x = 2;
|
|
}
|
|
}
|
|
|
|
contract B is A {
|
|
constructor() A() public {
|
|
x = 3;
|
|
}
|
|
}
|
|
// ----
|
|
// Warning: (56-90): Assertion checker does not yet support constructors.
|
|
// Warning: (113-151): Assertion checker does not yet support constructors.
|