Files
codeql/java/ql/test/kotlin/library-tests/recursive-instantiations/stack-overflow-1/test.kt
Ian Lynagh 0d79dfc412 Kotlin: Add a test of recursive instantiations
This used to cause a stack overflow
2022-05-10 19:51:21 +01:00

12 lines
178 B
Kotlin

class MyClass() {
fun f1() {
fun f2() {
class SomeClass {
}
val x: Foo<SomeClass>? = null
}
}
}