solidity/test/libsolidity/semanticTests/strings/string_escapes.sol
2022-05-19 20:23:28 +02:00

11 lines
274 B
Solidity

contract test {
function f() public pure returns (bytes32) {
bytes32 escapeCharacters = "\t\n\r\'\"\\";
return escapeCharacters;
}
}
// ====
// compileToEwasm: also
// ----
// f() -> 0x090a0d27225c0000000000000000000000000000000000000000000000000000