[FIR-TEST] Add new testdata generated after changes in previous commit

This commit is contained in:
Dmitriy Novozhilov
2019-12-11 16:16:22 +03:00
parent e9c02a1cca
commit 2536fa0cd5
4578 changed files with 104067 additions and 1 deletions
@@ -0,0 +1,34 @@
// !WITH_NEW_INFERENCE
// !DIAGNOSTICS: -UNUSED_VARIABLE
fun example() {
val a = if (true) true else false
val b = if (true) else false
val c = if (true) true
val d = if (true) true else;
val e = if (true) {} else false
val f = if (true) true else {}
<!UNRESOLVED_REFERENCE!>{
if (true) true
}()<!>;
<!UNRESOLVED_REFERENCE!>{
if (true) true else false
}()<!>;
<!UNRESOLVED_REFERENCE!>{
if (true) {} else false
}()<!>;
<!UNRESOLVED_REFERENCE!>{
if (true) true else {}
}()<!>
fun t(): Boolean {
return if (true) true
}
return if (true) true else {}
}