Files
kotlin-fork/plugins/kapt3/kapt3-compiler/testData/converter/modifiers.kt
T
Alexander Udalov ebb9659e03 Add mode to run kapt with JVM IR, use in tests
Currently JVM IR is not supported in kapt, so almost all tests are
failing, and thus are muted with IGNORE_BACKEND.

 #KT-49682
2022-02-08 20:15:13 +01:00

40 lines
890 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
package modifiers
public class PublicClass public constructor()
public open class PublicClassProtectedConstructor protected constructor() {
protected interface ProtectedInterface
private interface PrivateInterface
}
public abstract class PublicClassPrivateConstructor private constructor()
internal class InternalClass
private class PrivateClass
public interface PublicInterface
internal interface InternalInterface
private interface PrivateInterface
sealed class SealedClass {
class One : SealedClass()
open class Two : SealedClass()
abstract class Three : Two()
final class Four : Three()
}
class Modifiers {
@Transient
val transientField: String = ""
@Volatile
var volatileField: String = ""
@Strictfp
fun strictFp() {}
@JvmOverloads
fun overloads(a: String = "", n: Int = 5): String = null!!
}