[Test] Move KotlinAgainstKotlin tests under BlackBoxCodegen tests
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
// MODULE: lib
|
||||
// FILE: A.kt
|
||||
|
||||
package second
|
||||
|
||||
public class Outer() {
|
||||
inner class Inner(test: String)
|
||||
}
|
||||
|
||||
// MODULE: main(lib)
|
||||
// FILE: B.kt
|
||||
|
||||
//test for KT-3702 Inner class constructor cannot be invoked in override function with receiver
|
||||
import second.Outer
|
||||
|
||||
fun Outer.testExt() {
|
||||
Inner("test")
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
Outer().testExt()
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user