Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
functionLiterals
/
unusedLiteralInsideUnitLiteral.kt
blob: 76b21c4e24d4a34c24536960d1e85da2847f3af2 [
file
]
// DIAGNOSTICS: +UNUSED_LAMBDA_EXPRESSION
fun main
()
{
""
.
run
{
<!
UNUSED_LAMBDA_EXPRESSION
!>{}<!>
}
}
fun
<
T
>
T
.
run
(
f
:
(
T
)
->
Unit
):
Unit
=
f
(
this
)