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

11 lines
254 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: (164-165): Expected identifier but got ')'