Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2b455fc1ba7dcb99fa03fdfc31c7672d6ccfc9fd
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
shadowing
/
ShadowParameterInFunctionBody.kt
blob: 21183475a78976c047f1ef476012d4cc2791960a [
file
]
// RUN_PIPELINE_TILL: BACKEND
// DIAGNOSTICS: +UNUSED_PARAMETER
fun f
(<!
UNUSED_PARAMETER
!>
p
<!>:
Int
):
Int
{
val
<!
NAME_SHADOWING
!>
p
<!>
=
2
return
p
}
/* GENERATED_FIR_TAGS: functionDeclaration, integerLiteral, localProperty, propertyDeclaration */