solidity/test/libsolidity/semanticTests/strings/string_escapes.sol
2020-12-07 21:10:03 +00:00

11 lines
273 B
Solidity

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