K2: add a test to ensure #KT-63756 Fixed

This commit is contained in:
Mikhail Glukhikh
2024-02-06 13:26:39 +01:00
committed by Space Team
parent 797284dada
commit 8ee54a9045
6 changed files with 54 additions and 0 deletions
@@ -0,0 +1,24 @@
// LANGUAGE: +MultiPlatformProjects
// TARGET_BACKEND: JVM_IR
// ISSUE: KT-63756
// MODULE: common
// FILE: Expect.kt
expect annotation class Ignore
// MODULE: main()()(common)
// FILE: org/junit/Ignore.java
package org.junit;
public @interface Ignore {}
// FILE: Actual.kt
actual typealias Ignore = org.junit.Ignore
@Ignore
class Test {
fun ok() = "OK"
}
fun box() = Test().ok()