Add separate diagnostic renderer results for tests with NI

This commit is contained in:
Mikhail Zarechenskiy
2017-11-07 02:05:39 +03:00
parent 8757298994
commit 328c67b9e8
106 changed files with 1358 additions and 0 deletions
@@ -1,4 +1,5 @@
// !DIAGNOSTICS: -NOTHING_TO_INLINE
// NI_EXPECTED_FILE
// See KT-9143: smart cast on a variable nulled inside a lambda argument
inline fun <T> foo(t1: T, t2: T) = t1 ?: t2