mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
376 B
Solidity
15 lines
376 B
Solidity
|
interface A {
|
||
|
function test() external returns (uint256);
|
||
|
function test2() external returns (uint256);
|
||
|
}
|
||
|
|
||
|
interface B {
|
||
|
function test() external returns (uint256);
|
||
|
function test2() external returns (uint256);
|
||
|
}
|
||
|
abstract contract X is A, B {
|
||
|
function test() external override(A, B) returns (uint256);
|
||
|
function test2() external override(B, A) returns (uint256);
|
||
|
}
|
||
|
// ----
|