Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ebcc2cc3b207156c1c0e90e5107aa356b8fa8d72
/
.
/
compiler
/
testData
/
codegen
/
box
/
when
/
exhaustiveBoolean.kt
blob: e1d6d67ef7898c6447c0145b062e0b9662a2abcd [
file
]
// LANGUAGE: -ProhibitSimplificationOfNonTrivialConstBooleanExpressions
// IGNORE_BACKEND_FIR: JVM_IR
// FIR status: don't support legacy feature
fun box
()
:
String
=
when
(
true
)
{
((
true
))
->
"OK"
(
1
==
2
)
->
"Not ok"
}