Move resolveAnnotations tests into diagnostics tests

This commit is contained in:
Mikhael Bogdanov
2021-07-15 13:29:27 +02:00
committed by Space
parent 9ec4d19a3f
commit 3aeb9291fe
41 changed files with 0 additions and 0 deletions
@@ -0,0 +1,19 @@
package test
annotation class Ann(
val p1: Byte,
val p2: Byte,
val p3: Int,
val p4: Int,
val p5: Byte
)
@Ann(
p1 = java.lang.Byte.MAX_VALUE + 1,
p2 = 1 + 1,
p3 = java.lang.Byte.MAX_VALUE + 1,
p4 = 1.toByte() + 1.toByte(),
p5 = 1.toByte() + 1.toByte()
) class MyClass
// EXPECTED: @Ann(p1 = 128, p2 = 2.toByte(), p3 = 128, p4 = 2, p5 = 2)