Switch @JvmStatic diagnostic test to LanguageFeature usage

This commit is contained in:
Mikhael Bogdanov
2018-07-10 13:10:34 +02:00
parent e937fe8258
commit eb745133c9
13 changed files with 145 additions and 0 deletions
@@ -0,0 +1,7 @@
// !LANGUAGE: +JvmStaticInInterface
// !DIAGNOSTICS: -UNUSED_VARIABLE
fun main(args: Array<String>) {
<!JVM_STATIC_NOT_IN_OBJECT_OR_COMPANION!>@JvmStatic fun a()<!>{
}
}