-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
111 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
abstract contract Parent1 { | ||
constructor(uint x) {} | ||
|
||
function _testParent1() internal {} | ||
} | ||
|
||
abstract contract Parent2 { | ||
constructor(uint y) {} | ||
} | ||
|
||
abstract contract Parent3 { | ||
constructor(uint z) {} | ||
} | ||
|
||
abstract contract Child1 is Parent1 {} | ||
|
||
abstract contract Child2 is Parent1, Parent2 {} | ||
|
||
abstract contract Child3 is Parent1, Parent2, Child2 {} | ||
|
||
abstract contract Child4 is Parent1, Parent2, Parent3 { | ||
constructor(uint c) {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.