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

8 lines
189 B
Solidity

function suffix(uint[1] memory) pure suffix returns (uint[1] memory) {}
contract C {
uint[1] x = [42] suffix;
}
// ----
// ParserError 2314: (107-113): Expected ';' but got identifier