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

9 lines
252 B
Solidity

contract test {
function f() public pure returns (bytes32) {
bytes32 escapeCharacters = "foo" "bar" hex"aa";
return escapeCharacters;
}
}
// ----
// ParserError 2314: (112-119='hex"aa"'): Expected ';' but got 'HexStringLiteral'