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

6 lines
155 B
Solidity

contract X {
uint public override foo;
}
// ----
// TypeError 7792: (26-34): Public state variable has override specified but does not override anything.