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

8 lines
156 B
Solidity

function new(uint) pure suffix returns (uint) {}
contract C {
uint x = 1 new;
}
// ----
// ParserError 2314: (9-12): Expected identifier but got 'new'