Files
kotlin-fork/compiler/testData/resolveAnnotations/parameters/expressions/intrincics.kt
T
2013-12-05 15:21:58 +04:00

14 lines
592 B
Kotlin

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 = IntegerValueType(1): IntegerValueType(1), p2 = IntegerValueType(1): IntegerValueType(1), p3 = IntegerValueType(0): IntegerValueType(0), p4 = IntegerValueType(2): IntegerValueType(2), p5 = IntegerValueType(0): IntegerValueType(0), p6 = IntegerValueType(0): IntegerValueType(0)]