JVM: CHECK_BYTECODE_TEST directive + use it in INVOKEDYNAMIC tests

This commit is contained in:
Dmitry Petrov
2021-04-02 16:33:52 +03:00
committed by TeamCityServer
parent ca352c9556
commit 162363a324
119 changed files with 581 additions and 30 deletions
@@ -4,6 +4,11 @@
// JVM_TARGET: 1.8
// LAMBDAS: INDY
// CHECK_BYTECODE_TEXT
// JVM_IR_TEMPLATES
// 0 java/lang/invoke/LambdaMetafactory
// 1 class BigArityExtLambdaKt\$box\$1
fun test(
extFn: Int.(
p0: String, p1: String,
@@ -21,4 +26,4 @@ fun box() =
p20: Int, p21: Int, p22: Int
->
p0 + p1
}
}