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: Int,
val p2: Int,
val p3: Long,
val p4: Long,
val p5: Int
)
@Ann(
p1 = java.lang.Integer.MAX_VALUE + 1,
p2 = 1 + 1,
p3 = java.lang.Integer.MAX_VALUE + 1,
p4 = 1.toInt() + 1.toInt(),
p5 = 1.toInt() + 1.toInt()
) class MyClass
// EXPECTED: @Ann(p1 = -2147483648, p2 = 2, p3 = -2147483648, p4 = 2, p5 = 2)