solidity/test/libsolidity/semanticTests/strings/unicode_string.sol

10 lines
235 B
Solidity
Raw Normal View History

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