< prev index next >
test/langtools/tools/javac/diags/examples/RawStringLiteral.java
Print this page
*** 22,32 ****
*/
// key: compiler.err.unicode.backtick
// key: compiler.misc.feature.raw.string.literals
// key: compiler.warn.preview.feature.use.plural
! // options: --enable-preview -source 12 -Xlint:preview
class RawStringLiteral {
String m() {
return `abc` + \u0060`def`;
}
--- 22,32 ----
*/
// key: compiler.err.unicode.backtick
// key: compiler.misc.feature.raw.string.literals
// key: compiler.warn.preview.feature.use.plural
! // options: --enable-preview -source 13 -Xlint:preview
class RawStringLiteral {
String m() {
return `abc` + \u0060`def`;
}
< prev index next >