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,5 +1,6 @@
// !DIAGNOSTICS: +UNUSED_LAMBDA_EXPRESSION +UNUSED_VARIABLE
fun f(): Int {
var i = 17
{ var i = 18 }
return i
}
}