solidity/test/libsolidity/syntaxTests/string/string_multipart_hex_valid_parts.sol
2022-04-01 23:41:18 -05:00

9 lines
241 B
Solidity

contract test {
function f() public pure returns (bytes32) {
bytes32 escapeCharacters = hex"aa" hex"b";
return escapeCharacters;
}
}
// ----
// ParserError 5428: (108-112='hex"'): Expected even number of hex-nibbles.