solidity/test/libsolidity/syntaxTests/inheritance/override/public_vars_wrong_override.sol
2022-04-01 23:41:18 -05:00

6 lines
166 B
Solidity

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