mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
251 B
Solidity
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) {}
|
|
}
|
|
// ----
|