solidity/test/libsolidity/syntaxTests/string/string_multipart_unicode_mixed.sol

9 lines
278 B
Solidity
Raw Normal View History

2020-07-13 20:11:42 +00:00
contract test {
function f() public pure returns (bytes32) {
bytes32 escapeCharacters = "foo" hex"aa" unicode"😃, 😭, and 😈" "!" hex"00";
return escapeCharacters;
}
}
// ----
// ParserError 2314: (106-113): Expected ';' but got 'HexStringLiteral'