solidity/test/libsolidity/syntaxTests/string/string_terminated_by_backslash.sol
2022-04-01 23:41:18 -05:00

9 lines
230 B
Solidity

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