mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
28 lines
225 B
Kotlin
28 lines
225 B
Kotlin
|
|
fun foo ( x : Int ) {
|
|
val y = ( x + 1 )
|
|
}
|
|
|
|
// test
|
|
|
|
val x = 4
|
|
|
|
/*
|
|
test
|
|
*/
|
|
|
|
/**
|
|
test
|
|
*/
|
|
|
|
val y = 5 // test
|
|
|
|
class Foo {
|
|
fun bar() {
|
|
// comment
|
|
return
|
|
}
|
|
val someField = 3
|
|
}
|
|
|