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

8 lines
241 B
Solidity

contract X {
int public override override testvar;
function test() internal override override returns (uint256);
}
// ----
// ParserError 9125: (34-42): Override already specified.
// ParserError 1827: (87-95): Override already specified.