mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
254 B
Solidity
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 ')'
|