bcfafc601e
This change allows to revert adding `WITH_STDLIB` directive to tests which happened at `a9343aeb`. Co-authored-by: Alexander Udalov <Alexander.Udalov@jetbrains.com>
34 lines
479 B
Kotlin
Vendored
34 lines
479 B
Kotlin
Vendored
package test
|
|
|
|
/**
|
|
* KDoc comment.
|
|
*/
|
|
@Suppress("UNRESOLVED_REFERENCE")
|
|
internal class Simple {
|
|
@MyAnnotation
|
|
fun myMethod() {
|
|
// do nothing
|
|
}
|
|
|
|
fun heavyMethod(): Int {
|
|
return if (true) 5 else 6
|
|
}
|
|
}
|
|
|
|
/*
|
|
Multi
|
|
line
|
|
comment
|
|
*/
|
|
internal annotation class MyAnnotation
|
|
|
|
// Small comment
|
|
internal enum class EnumClass {
|
|
BLACK, WHITE
|
|
}
|
|
|
|
|
|
internal enum class EnumClass2 private constructor(private val blah: String) {
|
|
WHITE("A"), RED("B")
|
|
}
|