Validate "-language-version" argument value, add tests

This commit is contained in:
Alexander Udalov
2016-05-25 12:17:42 +03:00
parent 331a6ee414
commit bc5202a4d7
13 changed files with 78 additions and 10 deletions
+4
View File
@@ -0,0 +1,4 @@
compiler/testData/cli/jvm/languageVersion.kt:5:17: error: this type is sealed, so it can be inherited by only its own nested classes or objects
class Derived : Base()
^
COMPILATION_ERROR