Split GenerateNotNullAssertionsTests into standard box and bytecode tests
This commit is contained in:
committed by
Alexander Udalov
parent
dfd0042a5b
commit
dd20b74030
+12
@@ -0,0 +1,12 @@
|
||||
// KOTLIN_CONFIGURATION_FLAGS: +JVM.DISABLE_PARAM_ASSERTIONS
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
class A<T> {
|
||||
fun add(element: T) {}
|
||||
}
|
||||
|
||||
public fun <R> foo(x: MutableCollection<in R>, block: () -> R) {
|
||||
x.add(block())
|
||||
}
|
||||
|
||||
// 0 kotlin/jvm/internal/Intrinsics
|
||||
Reference in New Issue
Block a user