mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
246 B
Solidity
9 lines
246 B
Solidity
abstract contract C {
|
|
constructor() internal {}
|
|
}
|
|
contract D is C {
|
|
constructor() { }
|
|
}
|
|
// ----
|
|
// Warning 2462: (23-48): Visibility for constructor is ignored. If you want the contract to be non-deployable, making it "abstract" is sufficient.
|