solidity/test/libsolidity/syntaxTests/inheritance/override/override_interface_multiple.sol

15 lines
371 B
Solidity
Raw Normal View History

2019-11-05 17:25:34 +00:00
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) {}
2019-11-05 17:25:34 +00:00
}
// ----