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

8 lines
241 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 9125: (34-42): Override already specified.
// ParserError 1827: (87-95): Override already specified.