aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/string/string_terminated_by_backslash.sol
blob: 3eaba6af0542083e52bfc7679a2fac5b27e175d9 (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 primary expression.