Add test for #KT-28993

This commit is contained in:
Dmitriy Novozhilov
2019-02-01 12:50:51 +03:00
parent 4b1e5e8005
commit c60bce88c2
4 changed files with 28 additions and 0 deletions
@@ -0,0 +1,14 @@
// !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER
// !WITH_NEW_INFERENCE
fun test(x: () -> Unit, y: () -> Unit) {
}
fun main() {
<!OI;NO_VALUE_FOR_PARAMETER!>test<!> {
1
} <!MANY_LAMBDA_EXPRESSION_ARGUMENTS!>{
2
}<!>
}