Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2b455fc1ba7dcb99fa03fdfc31c7672d6ccfc9fd
/
.
/
compiler
/
testData
/
psi
/
WhenWithSubjectVariable_ERR.kt
blob: 0fe62e7650cf7e4d997f927095645e1a9a50d8da [
file
]
// COMPILATION_ERRORS
fun test
()
{
when
(
val
)
{}
when
(
val x1
)
{}
when
(
val x2
=
)
{}
when
(
val x3
:
)
{}
when
(
val x
=
1
;
42
)
when
(
fun foo
()
{})
{}
when
(
class
C
{})
{}
when
(
interface
I
{})
{}
when
(
object
Obj
{})
{}
when
(
typealias TA
=
T
)
{}
}