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

8 lines
184 B
Solidity

function hex(bytes memory) pure suffix returns (bytes memory) {}
contract C {
bytes b = hex"1234"hex;
}
// ----
// ParserError 2314: (9-12): Expected identifier but got 'ILLEGAL'