JVM: CHECK_BYTECODE_TEST directive + use it in INVOKEDYNAMIC tests
This commit is contained in:
committed by
TeamCityServer
parent
ca352c9556
commit
162363a324
+9
@@ -2,6 +2,15 @@
|
||||
// JVM_TARGET: 1.8
|
||||
// SAM_CONVERSIONS: INDY
|
||||
// WITH_RUNTIME
|
||||
|
||||
// CHECK_BYTECODE_TEXT
|
||||
// JVM_IR_TEMPLATES
|
||||
// 0 java/lang/invoke/LambdaMetafactory
|
||||
// 13 final synthetic class UnboundAdaptedFunctionReferenceKt\$box\$[0-9]+
|
||||
// 1 final synthetic class FromOtherFileKt\$target1FromOtherFile\$[0-9]*
|
||||
// 1 final synthetic class FromOtherFileKt\$adapted1FromOtherFile\$[0-9]*
|
||||
// 1 final synthetic class FromOtherFileKt\$adapted2FromOtherFile\$[0-9]*
|
||||
|
||||
// FILE: unboundAdaptedFunctionReference.kt
|
||||
fun checkEqual(x: Any, y: Any) {
|
||||
if (x != y || y != x) throw AssertionError("$x and $y should be equal")
|
||||
|
||||
Reference in New Issue
Block a user