Files
kotlin-fork/compiler/testData/resolveAnnotations/parameters/expressions/intrincics.kt
T
Denis Zharkov 4850fd10f0 Regenerate test data containing rendered descriptors
Introduced '@' after each annotation
2015-09-18 10:14:39 +03:00

14 lines
379 B
Kotlin
Vendored

package test
annotation class Ann(p1: Int,
p2: Short,
p3: Byte,
p4: Int,
p5: Int,
p6: Int
)
@Ann(1 or 1, 1 and 1, 1 xor 1, 1 shl 1, 1 shr 1, 1 ushr 1) class MyClass
// EXPECTED: @Ann(p1 = 1, p2 = 1.toShort(), p3 = 0.toByte(), p4 = 2, p5 = 0, p6 = 0)