[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import kotlin.jvm.*
|
||||
|
||||
abstract class C {
|
||||
abstract external fun foo()
|
||||
}
|
||||
|
||||
fun test() {
|
||||
abstract class Local {
|
||||
abstract external fun foo()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
import kotlin.jvm.*
|
||||
|
||||
external fun foo() {}
|
||||
|
||||
class C {
|
||||
external fun foo() {}
|
||||
|
||||
companion object {
|
||||
external fun foo() {}
|
||||
}
|
||||
}
|
||||
|
||||
object O {
|
||||
external fun foo() {}
|
||||
}
|
||||
|
||||
fun test() {
|
||||
class Local {
|
||||
external fun foo() {}
|
||||
}
|
||||
|
||||
object {
|
||||
external fun foo() {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class A {
|
||||
external constructor() {}
|
||||
inner class B {
|
||||
external constructor() {}
|
||||
}
|
||||
|
||||
external constructor(x: Int)
|
||||
}
|
||||
|
||||
class C external constructor()
|
||||
@@ -0,0 +1,11 @@
|
||||
import kotlin.jvm.*
|
||||
|
||||
abstract class C {
|
||||
inline external fun foo()
|
||||
}
|
||||
|
||||
fun test() {
|
||||
abstract class Local {
|
||||
inline external fun foo()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
import kotlin.jvm.*
|
||||
|
||||
external fun foo()
|
||||
|
||||
class C {
|
||||
external fun foo()
|
||||
|
||||
companion object {
|
||||
external fun foo()
|
||||
}
|
||||
}
|
||||
|
||||
object O {
|
||||
external fun foo()
|
||||
}
|
||||
|
||||
fun test() {
|
||||
class Local {
|
||||
external fun foo()
|
||||
}
|
||||
|
||||
object {
|
||||
external fun foo()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
external class A
|
||||
|
||||
external val foo: Int = 23
|
||||
|
||||
class B {
|
||||
external class A
|
||||
|
||||
external val foo: Int = 23
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import kotlin.jvm.*
|
||||
|
||||
interface Base {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
class Derived : Base {
|
||||
override external fun foo()
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import kotlin.jvm.*
|
||||
|
||||
external fun <reified T> foo()
|
||||
inline external fun <reified T> bar()
|
||||
@@ -0,0 +1,11 @@
|
||||
import kotlin.jvm.*
|
||||
|
||||
interface Tr {
|
||||
external fun foo()
|
||||
external fun bar() {}
|
||||
|
||||
companion object {
|
||||
external fun foo()
|
||||
external fun bar() {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user