solidity/test/libsolidity/semanticTests/strings/unicode_string.sol
2020-07-20 15:40:58 +02:00

10 lines
235 B
Solidity

contract C {
function f() public pure returns (string memory) {
return "😃, 😭, and 😈";
}
}
// ====
// compileViaYul: also
// ----
// f() -> 0x20, 0x14, "\xf0\x9f\x98\x83, \xf0\x9f\x98\xad, and \xf0\x9f\x98\x88"