[java] raw string literals: language level check (IDEA-189075)

This commit is contained in:
Roman Shevchenko
2018-04-12 17:26:34 +02:00
parent b65b781a0c
commit b6e21af7ac
4 changed files with 8 additions and 1 deletions
@@ -20,5 +20,7 @@ class UnsupportedFeatures {
java.lang.annotation.ElementType t = null;
switch (<error descr="Incompatible types. Found: 'java.lang.annotation.ElementType', required: 'byte, char, short or int'">t</error>) { }
String raw = <error descr="Raw string literals are not supported at language level '1.4'">`hi there`</error>;
}
}