[Test] Move KotlinAgainstKotlin tests under BlackBoxCodegen tests
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// MODULE: lib
|
||||
// FILE: A.kt
|
||||
|
||||
inline class A(val x: String) {
|
||||
inline fun f(other: A): A = other
|
||||
}
|
||||
|
||||
// MODULE: main(lib)
|
||||
// FILE: B.kt
|
||||
|
||||
fun box(): String {
|
||||
return A("Fail").f(A("OK")).x
|
||||
}
|
||||
Reference in New Issue
Block a user