mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Kotlin: Add a Kotlin 2 copy of the testsuite
This commit is contained in:
7
java/ql/test-kotlin2/library-tests/object/objects.ql
Normal file
7
java/ql/test-kotlin2/library-tests/object/objects.ql
Normal file
@@ -0,0 +1,7 @@
|
||||
import java
|
||||
|
||||
from ClassObject co, Field f
|
||||
where
|
||||
co.fromSource() and
|
||||
f = co.getInstance()
|
||||
select co, f, concat(f.getAModifier().toString(), ",")
|
||||
Reference in New Issue
Block a user