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

11 lines
259 B
Solidity

contract A {
int public testvar;
function test() internal returns (uint256);
}
contract X is A {
int public override testvar;
function test() internal override() returns (uint256);
}
// ----
// ParserError 2314: (164-165): Expected identifier but got ')'