JVM: CHECK_BYTECODE_TEST directive + use it in INVOKEDYNAMIC tests
This commit is contained in:
committed by
TeamCityServer
parent
ca352c9556
commit
162363a324
@@ -2,9 +2,14 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// JVM_TARGET: 1.8
|
||||
// LAMBDAS: INDY
|
||||
|
||||
// CHECK_BYTECODE_LISTING
|
||||
// WITH_SIGNATURES
|
||||
|
||||
// CHECK_BYTECODE_TEXT
|
||||
// JVM_IR_TEMPLATES
|
||||
// 1 java/lang/invoke/LambdaMetafactory
|
||||
|
||||
fun <T1, R> call(value: T1, f: (T1) -> R): R {
|
||||
return f(value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user