solidity/test/libsolidity/syntaxTests/inheritance/override/override_interface_multiple.sol
2019-12-02 21:59:00 +01:00

15 lines
371 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);
}
contract X is A, B {
function test() external override(A, B) returns (uint256) {}
function test2() external override(B, A) returns (uint256) {}
}
// ----