[K/N] Fixes in tests and check function in optimized mode

This commit is contained in:
Elena Lepilkina
2021-10-29 17:40:09 +03:00
committed by Space
parent 4d1c2c90d6
commit d8c9536edd
3 changed files with 3 additions and 3 deletions
@@ -18,7 +18,7 @@ suspend fun suspendForever(): Int = suspendCoroutineUninterceptedOrReturn {
}
// CHECK-LABEL: define %struct.ObjHeader* @"kfun:$fooCOROUTINE
// CHECK-NOT: ; Function Attrs: noreturn
// CHECK-NOT: ; Function Attrs: {{.*}}noreturn
// CHECK-LABEL: define %struct.ObjHeader* @"kfun:#foo(){}kotlin.Nothing"
suspend fun foo(): Nothing {
suspendForever()