mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
211 B
Solidity
10 lines
211 B
Solidity
interface A {
|
|
function foo() external returns (uint);
|
|
}
|
|
interface B {}
|
|
contract X is A {
|
|
uint public override(A, B) foo;
|
|
}
|
|
// ----
|
|
// TypeError: (106-120): Invalid contract specified in override list: "B".
|