Configuration: move scratch tests to separate module
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// REPL_MODE: false
|
||||
|
||||
class MyClass { // RESULT: class MyClass
|
||||
fun foo() = 1
|
||||
}
|
||||
|
||||
MyClass().foo() // RESULT: 1
|
||||
|
||||
interface I { // RESULT: interface I
|
||||
fun foo(): Int
|
||||
}
|
||||
|
||||
val i = object: I { // RESULT: val i: Klass.I
|
||||
override fun foo(): Int = 1
|
||||
}
|
||||
i.foo() // RESULT: 1
|
||||
Reference in New Issue
Block a user