mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Kotlin: Move tests from test/kotlin to test-kotlin1
Matches test-kotlin2
This commit is contained in:
13
java/ql/test-kotlin1/library-tests/arrays/arrayIterators.kt
Normal file
13
java/ql/test-kotlin1/library-tests/arrays/arrayIterators.kt
Normal file
@@ -0,0 +1,13 @@
|
||||
fun test(
|
||||
a: Array<Int>,
|
||||
b: IntArray,
|
||||
c: BooleanArray) {
|
||||
|
||||
for (i in a) { }
|
||||
for (i in b) { }
|
||||
for (i in c) { }
|
||||
|
||||
val i1 = a.iterator()
|
||||
val i2 = b.iterator()
|
||||
val i3 = c.iterator()
|
||||
}
|
||||
Reference in New Issue
Block a user