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

12 lines
297 B
Solidity

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