mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
23 lines
501 B
Kotlin
23 lines
501 B
Kotlin
package a
|
|
|
|
fun test1() {
|
|
<!UNREACHABLE_CODE!>bar(<!>
|
|
11,
|
|
todo(),//comment1
|
|
<!UNREACHABLE_CODE!>""//comment2
|
|
)<!>
|
|
}
|
|
|
|
fun test2() {
|
|
<!UNREACHABLE_CODE!>bar(<!>11, todo()/*comment1*/, <!UNREACHABLE_CODE!>""/*comment2*/)<!>
|
|
}
|
|
fun test3() {
|
|
<!UNREACHABLE_CODE!>bar(<!>11, @l(todo()/*comment*/), <!UNREACHABLE_CODE!>"")<!>
|
|
}
|
|
|
|
fun todo() = throw Exception()
|
|
|
|
fun bar(<!UNUSED_PARAMETER!>i<!>: Int, <!UNUSED_PARAMETER!>s<!>: String, <!UNUSED_PARAMETER!>a<!>: Any) {}
|
|
|
|
|