mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
Add tests for publicField
This commit is contained in:
6
compiler/testData/asJava/lightClasses/nullabilityAnnotations/PublicField.java
vendored
Normal file
6
compiler/testData/asJava/lightClasses/nullabilityAnnotations/PublicField.java
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
public final class C {
|
||||
@kotlin.jvm.publicField
|
||||
public final java.lang.String foo = "A";
|
||||
|
||||
public C() { /* compiled code */ }
|
||||
}
|
||||
5
compiler/testData/asJava/lightClasses/nullabilityAnnotations/PublicField.kt
vendored
Normal file
5
compiler/testData/asJava/lightClasses/nullabilityAnnotations/PublicField.kt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// C
|
||||
|
||||
class C {
|
||||
@[kotlin.jvm.publicField] private val foo: String = "A"
|
||||
}
|
||||
Reference in New Issue
Block a user