[Test] Add ability to specify applicability of diagnostic to module or file

This commit is contained in:
Dmitriy Novozhilov
2021-01-15 14:54:05 +03:00
committed by TeamCityServer
parent 28cff22cd0
commit 6a7cd0c811
117 changed files with 266 additions and 189 deletions
@@ -1,5 +1,7 @@
// !JVM_DEFAULT_MODE: all-compatibility
// TARGET_BACKEND: JVM
// JVM_TARGET: 1.8
// WITH_RUNTIME
// FILE: Simple.java
public interface Simple extends KInterface {
@@ -14,8 +16,6 @@ public class Foo implements Simple {
}
// FILE: main.kt
// JVM_TARGET: 1.8
// WITH_RUNTIME
interface KInterface {
fun test2(): String {