solidity/test/libsolidity/syntaxTests/inheritance/override/detect_double_override.sol
2019-08-26 17:34:21 +02:00

8 lines
231 B
Solidity

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