mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
Kotlin: Add a Kotlin 2 copy of the testsuite
This commit is contained in:
9
java/ql/test-kotlin2/library-tests/object/objects.kt
Normal file
9
java/ql/test-kotlin2/library-tests/object/objects.kt
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
object MyObject {
|
||||
fun MyObjectFunction() {}
|
||||
}
|
||||
|
||||
fun useMyObject() {
|
||||
val myObj = MyObject
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user