solidity/test/libsolidity/syntaxTests/inheritance/override/override_interface_multiple.sol
2019-11-14 11:49:39 +01:00

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);
}
// ----