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

11 lines
184 B
Solidity

interface A {
function foo() external returns (uint);
}
interface B {
function foo() external returns (uint);
}
contract X is A, B {
uint public override(A, B) foo;
}
// ----