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

10 lines
227 B
Solidity

contract test {
function f() public pure returns (bytes32) {
bytes32 escapeCharacters = "This a test
";
return escapeCharacters;
}
}
// ----
// ParserError: (100-112): Expected string end-quote.