[Test] Reproduce KT-65415 and KT-66432
This commit is contained in:
committed by
Space Team
parent
d352cc9d96
commit
7a383373b0
+6
@@ -197,6 +197,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
|
||||
runTest("compiler/testData/codegen/box/annotations/genericAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicConstEvaluationInSources.kt")
|
||||
public void testIntrinsicConstEvaluationInSources() {
|
||||
runTest("compiler/testData/codegen/box/annotations/intrinsicConstEvaluationInSources.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invisibleFunctionWithReceiverWithSuppress.kt")
|
||||
public void testInvisibleFunctionWithReceiverWithSuppress() {
|
||||
|
||||
+6
@@ -197,6 +197,12 @@ public class FirLightTreeBlackBoxCodegenWithFir2IrFakeOverrideGeneratorTestGener
|
||||
runTest("compiler/testData/codegen/box/annotations/genericAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicConstEvaluationInSources.kt")
|
||||
public void testIntrinsicConstEvaluationInSources() {
|
||||
runTest("compiler/testData/codegen/box/annotations/intrinsicConstEvaluationInSources.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invisibleFunctionWithReceiverWithSuppress.kt")
|
||||
public void testInvisibleFunctionWithReceiverWithSuppress() {
|
||||
|
||||
+6
@@ -197,6 +197,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
|
||||
runTest("compiler/testData/codegen/box/annotations/genericAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicConstEvaluationInSources.kt")
|
||||
public void testIntrinsicConstEvaluationInSources() {
|
||||
runTest("compiler/testData/codegen/box/annotations/intrinsicConstEvaluationInSources.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invisibleFunctionWithReceiverWithSuppress.kt")
|
||||
public void testInvisibleFunctionWithReceiverWithSuppress() {
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6, WASM, NATIVE
|
||||
// IGNORE_BACKEND_K2: ANY
|
||||
// non-jvm backends are ignored because of KT-66432
|
||||
// ISSUE: KT-65415, KT-66432
|
||||
|
||||
// FILE: IntrinsicConstEvaluation.kt
|
||||
package kotlin.internal
|
||||
|
||||
annotation class IntrinsicConstEvaluation
|
||||
|
||||
// FILE: usage.kt
|
||||
import kotlin.internal.IntrinsicConstEvaluation
|
||||
|
||||
@IntrinsicConstEvaluation
|
||||
fun test(): String = "OK"
|
||||
|
||||
fun box(): String = test()
|
||||
+6
@@ -197,6 +197,12 @@ public class JvmAbiConsistencyTestBoxGenerated extends AbstractJvmAbiConsistency
|
||||
runTest("compiler/testData/codegen/box/annotations/genericAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicConstEvaluationInSources.kt")
|
||||
public void testIntrinsicConstEvaluationInSources() {
|
||||
runTest("compiler/testData/codegen/box/annotations/intrinsicConstEvaluationInSources.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invisibleFunctionWithReceiverWithSuppress.kt")
|
||||
public void testInvisibleFunctionWithReceiverWithSuppress() {
|
||||
|
||||
+6
@@ -161,6 +161,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/annotations/genericAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicConstEvaluationInSources.kt")
|
||||
public void testIntrinsicConstEvaluationInSources() {
|
||||
runTest("compiler/testData/codegen/box/annotations/intrinsicConstEvaluationInSources.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaAnnotationArrayValueDefault.kt")
|
||||
public void testJavaAnnotationArrayValueDefault() {
|
||||
|
||||
+6
@@ -197,6 +197,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/annotations/genericAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicConstEvaluationInSources.kt")
|
||||
public void testIntrinsicConstEvaluationInSources() {
|
||||
runTest("compiler/testData/codegen/box/annotations/intrinsicConstEvaluationInSources.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invisibleFunctionWithReceiverWithSuppress.kt")
|
||||
public void testInvisibleFunctionWithReceiverWithSuppress() {
|
||||
|
||||
+6
@@ -197,6 +197,12 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack
|
||||
runTest("compiler/testData/codegen/box/annotations/genericAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicConstEvaluationInSources.kt")
|
||||
public void testIntrinsicConstEvaluationInSources() {
|
||||
runTest("compiler/testData/codegen/box/annotations/intrinsicConstEvaluationInSources.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invisibleFunctionWithReceiverWithSuppress.kt")
|
||||
public void testInvisibleFunctionWithReceiverWithSuppress() {
|
||||
|
||||
+6
@@ -197,6 +197,12 @@ public class FirBlackBoxCodegenTestWithInlineScopesGenerated extends AbstractFir
|
||||
runTest("compiler/testData/codegen/box/annotations/genericAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicConstEvaluationInSources.kt")
|
||||
public void testIntrinsicConstEvaluationInSources() {
|
||||
runTest("compiler/testData/codegen/box/annotations/intrinsicConstEvaluationInSources.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invisibleFunctionWithReceiverWithSuppress.kt")
|
||||
public void testInvisibleFunctionWithReceiverWithSuppress() {
|
||||
|
||||
+5
@@ -178,6 +178,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/annotations/genericAnnotations.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intrinsicConstEvaluationInSources.kt")
|
||||
public void testIntrinsicConstEvaluationInSources() {
|
||||
runTest("compiler/testData/codegen/box/annotations/intrinsicConstEvaluationInSources.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("invisibleFunctionWithReceiverWithSuppress.kt")
|
||||
public void testInvisibleFunctionWithReceiverWithSuppress() {
|
||||
runTest("compiler/testData/codegen/box/annotations/invisibleFunctionWithReceiverWithSuppress.kt");
|
||||
|
||||
Reference in New Issue
Block a user