solidity/test/libsolidity/syntaxTests/string/string_multipart_hex_valid_parts.sol
2019-11-26 16:27:07 +01:00

9 lines
229 B
Solidity

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