Files
kotlin-fork/compiler/testData/diagnostics/tests/script/ComplexScript.kts
T
Ilya Chernikov 47448d779c K2 Scripting: enable script diagnostic tests for FIR
also add script scopes test
2022-11-26 18:01:49 +00:00

9 lines
91 B
Kotlin
Vendored

// FIR_IDENTICAL
// !DIAGNOSICS: +UNUSED_PARAMETER
fun foo(x: Int) = 1
val y = 2
foo(y)