add local variable test. This test runs box() method and checks local variable types and names avaiable at every step.
This commit is contained in:
committed by
Ilmir Usmanov
parent
6b73ef4b0b
commit
6454cfad87
@@ -0,0 +1,16 @@
|
||||
//FILE: test.kt
|
||||
|
||||
fun foo() {
|
||||
fun bar() {
|
||||
}
|
||||
}
|
||||
|
||||
fun box() {
|
||||
foo()
|
||||
}
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// LOCAL VARIABLES
|
||||
// TestKt:9:
|
||||
// TestKt:4: $fun$bar$1:TestKt$foo$1
|
||||
// TestKt:6: $fun$bar$1:TestKt$foo$1
|
||||
// TestKt:10:
|
||||
Reference in New Issue
Block a user