solidity/test/libsolidity/syntaxTests/string/string_terminated_by_backslash.sol

9 lines
218 B
Solidity

contract test {
function f() public pure returns (bytes32) {
bytes32 escapeCharacters = "text \";
return escapeCharacters;
}
}
// ----
// ParserError 8936: (100-109): Expected string end-quote.