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

10 lines
251 B
Solidity

interface A {
function test() external returns (uint256);
function test2() external returns (uint256);
}
contract X is A {
function test() external override returns (uint256) {}
function test2() external override(A) returns (uint256) {}
}
// ----