Restore UNUSED_* diagnostics to relevant tests.

This commit is contained in:
Mark Punzalan
2021-03-30 05:17:42 +00:00
committed by Dmitriy Novozhilov
parent 303d5ece96
commit 1da35029a6
16 changed files with 87 additions and 44 deletions
@@ -1,7 +1,8 @@
// !DIAGNOSTICS: +UNUSED_LAMBDA_EXPRESSION +UNUSED_VARIABLE
fun ff(): Int {
var i = 1
{
val i = 2
}
return i
}
}