aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/string/string_terminated_by_backslash.sol
blob: fba53a0391d8fe1d5d553f6127f4ac1262890823 (plain) (blame)
1
2
3
4
5
6
7
8
contract test {
    function f() public pure returns (bytes32) {
        bytes32 escapeCharacters = "text \";
        return escapeCharacters;
    }
}
// ----
// ParserError: (100-109): Expected string end-quote.