mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
10 lines
229 B
Plaintext
10 lines
229 B
Plaintext
annotation class my
|
|
annotation class my1(i : Int)
|
|
annotation class my2(i : Int = 0)
|
|
|
|
my fun foo() {}
|
|
<!NO_VALUE_FOR_PARAMETER!>my1<!> fun foo2() {}
|
|
my1(2) fun foo3() {}
|
|
my2() fun foo4() {}
|
|
my2 fun foo41() {}
|
|
my2(2) fun foo42() {} |