solidity/test/libsolidity/syntaxTests/string/invalid_legacy_escape.sol
2020-12-07 21:10:03 +00:00

9 lines
216 B
Solidity

contract test {
function f() public pure returns (bytes32) {
bytes32 escapeCharacters = "\t\b\f";
return escapeCharacters;
}
}
// ----
// ParserError 8936: (100-105): Invalid escape sequence.