K2: add a test to ensure #KT-63756 Fixed
This commit is contained in:
committed by
Space Team
parent
797284dada
commit
8ee54a9045
+24
@@ -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()
|
||||
Reference in New Issue
Block a user