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

8 lines
202 B
Solidity

contract C {
function() external virtual fp;
function() external override fp2;
function() external override virtual fp3;
}
// ----
// ParserError 2314: (34-41): Expected identifier but got 'virtual'