[kotlin][tests][compiler/testData/debug/stepping] kt-42208 test added.
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
// FILE: test.kt
|
||||
|
||||
fun box() {
|
||||
val a = foo()
|
||||
a()
|
||||
}
|
||||
// FILE: test1.kt
|
||||
// aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
inline fun foo() = {
|
||||
}
|
||||
// LINENUMBERS
|
||||
// test.kt:4 box
|
||||
// test1.kt:3 box
|
||||
// test1.kt:4 box
|
||||
// LINENUMBERS JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test1.kt:4 invoke
|
||||
// test.kt:5 box
|
||||
// LINENUMBERS JVM_IR
|
||||
// test.kt:6 box
|
||||
// LINENUMBERS JVM
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
// FILE: test.kt
|
||||
|
||||
fun box() {
|
||||
baz(foo())
|
||||
val a = foo()
|
||||
baz(a)
|
||||
}
|
||||
// FILE: test1.kt
|
||||
// aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
inline fun foo() = {
|
||||
}
|
||||
//FILE: test3.kt
|
||||
fun baz(v:(() -> Unit)) {
|
||||
v()
|
||||
}
|
||||
// LINENUMBERS
|
||||
// test.kt:4 box
|
||||
// test1.kt:3 box
|
||||
// test1.kt:4 box
|
||||
// test.kt:4 box
|
||||
// test3.kt:3 baz
|
||||
// LINENUMBERS JVM_IR
|
||||
// test1.kt:4 invoke
|
||||
// test3.kt:3 baz
|
||||
// LINENUMBERS
|
||||
// test3.kt:4 baz
|
||||
// test.kt:5 box
|
||||
// test1.kt:3 box
|
||||
// test1.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
// LINENUMBERS JVM_IR
|
||||
// test3.kt:3 baz
|
||||
// test1.kt:4 invoke
|
||||
// LINENUMBERS
|
||||
// test3.kt:3 baz
|
||||
// test3.kt:4 baz
|
||||
// test.kt:7 box
|
||||
Generated
+12
@@ -260,6 +260,18 @@ public class IrSteppingTestGenerated extends AbstractIrSteppingTest {
|
||||
runTest("compiler/testData/debug/stepping/kt42208.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42208b.kt")
|
||||
public void testKt42208b() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/kt42208b.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42208c.kt")
|
||||
public void testKt42208c() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/kt42208c.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaStepInline.kt")
|
||||
public void testLambdaStepInline() throws Exception {
|
||||
|
||||
Generated
+12
@@ -260,6 +260,18 @@ public class SteppingTestGenerated extends AbstractSteppingTest {
|
||||
runTest("compiler/testData/debug/stepping/kt42208.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42208b.kt")
|
||||
public void testKt42208b() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/kt42208b.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42208c.kt")
|
||||
public void testKt42208c() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/kt42208c.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaStepInline.kt")
|
||||
public void testLambdaStepInline() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user