diff --git a/compiler/testData/codegen/box/when/kt60212.kt b/compiler/testData/codegen/box/when/kt60212.kt index d473ab668a0..299255a7511 100644 --- a/compiler/testData/codegen/box/when/kt60212.kt +++ b/compiler/testData/codegen/box/when/kt60212.kt @@ -30,3 +30,5 @@ fun test(b0: Int) = when { b0 and 0xf8 == 0xf0 -> 3 else -> -1 } + +fun fail(message: String): Nothing = throw Exception(message)