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,21 @@
package test
annotation class Ann(
val p1: Byte,
val p2: Short,
val p3: Int,
val p4: Int,
val p5: Long,
val p6: Long
)
@Ann(
p1 = java.lang.Byte.MAX_VALUE + 1,
p2 = java.lang.Short.MAX_VALUE + 1,
p3 = java.lang.Integer.MAX_VALUE + 1,
p4 = java.lang.Integer.MAX_VALUE + 1,
p5 = java.lang.Integer.MAX_VALUE + 1.toLong(),
p6 = java.lang.Long.MAX_VALUE + 1
) class MyClass
// EXPECTED: @Ann(p1 = 128, p2 = 32768, p3 = -2147483648, p4 = -2147483648, p5 = 2147483648.toLong(), p6 = -9223372036854775808.toLong())