solidity/test/libsolidity/syntaxTests/literalSuffixes/application/invalid_suffixed_suffix.sol
2023-03-22 13:16:31 +01:00

9 lines
301 B
Solidity

function suffix(uint value) pure suffix returns (uint) { return value; }
function metasuffix(function (uint) pure returns (uint) value) pure suffix returns (uint) { return value; }
contract C {
uint x = suffix metasuffix;
}
// ----
// ParserError 2314: (215-225): Expected ';' but got identifier