solidity/test/libsolidity/syntaxTests/inheritance/interface/diamond/diamond_no_relist.sol
2020-01-22 09:40:40 -05:00

11 lines
227 B
Solidity

interface Parent {
function test() external returns (uint256);
}
interface SubA is Parent {}
interface SubB is Parent {}
contract C is SubA, SubB {
function test() external override returns (uint256) { return 42; }
}