mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 00:21:26 +00:00
24 lines
365 B
Plaintext
Vendored
24 lines
365 B
Plaintext
Vendored
package m
|
|
|
|
~zzz~annotation class zzz
|
|
|
|
~y~val y = 23
|
|
|
|
~bar~fun bar() = 354
|
|
~baz~fun baz(i: Int) = i
|
|
|
|
fun test() {
|
|
~x~val x = 2
|
|
|
|
@[`zzz`zzz] fun local(
|
|
@`zzz`zzz i: Int = `x`x,
|
|
j: Int = 3,
|
|
s: String = "$`x`x",
|
|
k: Int = `y`y,
|
|
l: Int = `bar`bar(),
|
|
m: Int = `baz`baz(`x`x)
|
|
) {
|
|
|
|
}
|
|
}
|