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

11 lines
254 B
Solidity
Raw Normal View History

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