diff --git a/compiler/tests/org/jetbrains/kotlin/code/JetCodeConformanceTest.kt b/compiler/tests/org/jetbrains/kotlin/code/JetCodeConformanceTest.kt index 3d66a8d7425..382528fa703 100644 --- a/compiler/tests/org/jetbrains/kotlin/code/JetCodeConformanceTest.kt +++ b/compiler/tests/org/jetbrains/kotlin/code/JetCodeConformanceTest.kt @@ -87,6 +87,16 @@ public class JetCodeConformanceTest : TestCase() { { source -> "org.jetbrains.jet" in source } + ), + TestData( + "%d source files contain references to package kotlin.reflect.jvm.internal.impl.\n" + + "This package contains internal reflection implementation and is a result of a " + + "post-processing of kotlin-reflect.jar by jarjar.\n" + + "Most probably you meant to use classes from org.jetbrains.kotlin.** or com.google.protobuf.**.\n" + + "Please change references in these files or exclude them in this test:\n%s", + { source -> + "kotlin.reflect.jvm.internal.impl" in source + } ) )