mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:20:57 +07:00
25 lines
785 B
Java
25 lines
785 B
Java
class C {
|
|
String empty = """
|
|
""";
|
|
String invalid1 = <error descr="Illegal text block start: missing new line after opening quotes">"""</error>""";
|
|
String invalid2 = <error descr="Illegal text block start: missing new line after opening quotes">"""</error> """;
|
|
String invalid3 = <error descr="Illegal text block start: missing new line after opening quotes">"""</error>\\n """;
|
|
|
|
String s9 = "\s";
|
|
String s10 = " <error descr="Illegal escape character in string literal">\ </error>";
|
|
|
|
String valid1 = """
|
|
\s
|
|
""";
|
|
|
|
String valid2 = """
|
|
\
|
|
""";
|
|
|
|
String valid3 = """\u000Ahello""";
|
|
String valid4 = """\u0020\u0020\u0020\u000Dhello""";
|
|
String valid5 = \u0022\u0022\u0022\u0020\u0020\u0020\u000Ahello""";
|
|
|
|
String backSlash1 = """
|
|
\u005c\""";
|
|
} |