ebb9659e03
Currently JVM IR is not supported in kapt, so almost all tests are failing, and thus are muted with IGNORE_BACKEND. #KT-49682
40 lines
890 B
Kotlin
Vendored
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!!
|
|
}
|