[PL][tests] Keep PL test data under "testData/klib/" dir

This commit is contained in:
Dmitriy Dolovov
2023-08-15 14:38:02 +02:00
committed by Space Team
parent 9e3afe7a1f
commit 5c3e63e19a
186 changed files with 156 additions and 156 deletions
@@ -0,0 +1,21 @@
package lib
interface I {
fun f(): Int
val p1: Int
val p2: Int
}
interface I2: I {
fun compute() = f() * p1 * p2
}
abstract class AC : I2 {
override fun f() = 42
override val p1 get() = 2
override val p2 get() = -1
}
// All callables are correctly implemented in class C.
// Need to check that no false positives of "non-implemented" callables are detected for this case.
class C : I, AC()
@@ -0,0 +1,2 @@
STEP 0:
dependencies: stdlib