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

8 lines
204 B
Solidity
Raw Normal View History

2020-07-13 20:11:42 +00:00
contract test {
function f() public pure returns (bytes32) {
bytes32 escapeCharacters = unicode"foo" unicode"😃, 😭, and 😈" unicode"!";
return escapeCharacters;
}
}
// ----