solidity/test/libsolidity/syntaxTests/literalSuffixes/usableAsSuffix/unimplemented_function_as_suffix.sol
2023-05-17 16:55:14 +02:00

8 lines
238 B
Solidity

abstract contract B {
uint a = 1000 suffix;
function suffix(uint x) internal pure virtual returns (uint);
}
// ----
// TypeError 4438: (40-46): The literal suffix must be either a subdenomination or a file-level suffix function.