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

8 lines
231 B
Solidity
Raw Normal View History

2019-08-13 11:00:46 +00:00
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.